]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a950ee53da08726474b44359d0d3d01f3498221
tree9f5957b3801873d32fa1b581f9dca6b6bfc76c21
parent90321df330ca9c086b00b9ffb071a0c125bc79a7
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