summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2017-12-19 00:06:44 +0100
committerAndreas Gruenbacher <agruenba@redhat.com>2018-01-18 21:15:57 +0100
commit10d2cf94c23d48ef1b141084216e7580011e4790 (patch)
tree2b246046c8fba5415aba59f464426c507b4d8927 /fs/gfs2/file.c
parent5cf26b1e88c9eef76a1e8bdedbad48db925bbdd5 (diff)
downloadlinux-stable-10d2cf94c23d48ef1b141084216e7580011e4790.tar.gz
linux-stable-10d2cf94c23d48ef1b141084216e7580011e4790.tar.bz2
linux-stable-10d2cf94c23d48ef1b141084216e7580011e4790.zip
gfs2: Turn trunc_dealloc into punch_hole
Add an upper bound to the range of blocks to deallocate blocks to function trunc_dealloc so that this function can be used for truncating a file as well as for punching a hole into a file. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/file.c')
0 files changed, 0 insertions, 0 deletions