]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit89c7027de64390f0e6a4ee65c7ef2cfcfc8a7479
treeadcc8b3083a18ed1a41fb061d8f4cf315c1210a6
parentb9d1080296be17107d04adffd68f96ede35699c9
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