gfs2: implement gfs2_block_zero_range using iomap_zero_range
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Jul 2019 21:54:37 +0000 (23:54 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Fri, 9 Aug 2019 16:00:51 +0000 (17:00 +0100)
commit2257e468a63b6d35a77e884ef032c54f9be65c92
treefb424e878051ea65daf2eab3b10e7f966da76149
parent72d36d0529c6d9ee8b950c819508b1e344d8cc4f
gfs2: implement gfs2_block_zero_range using iomap_zero_range

iomap handles all the nitty-gritty details of zeroing a file
range for us, so use the proper helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/bmap.c