xfs: kill xfs_zero_remaining_bytes
authorChristoph Hellwig <hch@lst.de>
Tue, 21 Jun 2016 00:02:23 +0000 (10:02 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 21 Jun 2016 00:02:23 +0000 (10:02 +1000)
commit3c2bdc912a1cc050db7e858aabe564cb382c9c30
tree61eb71132006f1cb787838feebab310016c5d9bf
parentbdb0d04fa66d8d02219ca7c027adf810dd75e9e4
xfs: kill xfs_zero_remaining_bytes

Instead punch the whole first, and the use the our zeroing helper
to punch out the edge blocks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_bmap_util.c