mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
5cf26b1e88
commit
10d2cf94c2
1 changed files with 120 additions and 59 deletions
179
fs/gfs2/bmap.c
179
fs/gfs2/bmap.c
Loading…
Add table
Add a link
Reference in a new issue