Turn gfs2_block_truncate_page into gfs2_block_zero_range
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 13 Dec 2017 19:10:38 +0000 (20:10 +0100)
committerBob Peterson <rpeterso@redhat.com>
Wed, 17 Jan 2018 13:35:53 +0000 (06:35 -0700)
commitbdba0d5ec13ed48420a4f85a69317c963c0de67e
tree9f5957b3801873d32fa1b581f9dca6b6bfc76c21
parentcb7f0903efacb7d25b844b9d321b43f228c7a37a
Turn gfs2_block_truncate_page into gfs2_block_zero_range

Turn gfs2_block_truncate_page into a function that zeroes a range within
a block rather than only the end of a block.  This will be used for
cleaning the end of the first partial block and the start of the last
partial block when punching a hole in a file.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/bmap.c