xfs: use xfs_zero_range in xfs_zero_eof
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Jun 2016 23:57:26 +0000 (09:57 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Jun 2016 23:57:26 +0000 (09:57 +1000)
commit570b6211b85692f408cbe47664ab2378eb9519ff
treeadcc8b3083a18ed1a41fb061d8f4cf315c1210a6
parent7bb41db3ea160ea55cc46af07e45f7cb1e2968ba
xfs: use xfs_zero_range in xfs_zero_eof

We now skip holes in it, so no need to have the caller do it as well.

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_file.c