commit | 10d2cf94c23d48ef1b141084216e7580011e4790 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Tue Dec 19 00:06:44 2017 +0100 |
committer | Andreas Gruenbacher <agruenba@redhat.com> | Thu Jan 18 21:15:57 2018 +0100 |
tree | 2b246046c8fba5415aba59f464426c507b4d8927 | |
parent | 5cf26b1e88c9eef76a1e8bdedbad48db925bbdd5 [diff] |
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>