Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10d2cf94 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

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: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 5cf26b1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment