xfs: use new extent lookup helpers xfs_file_iomap_begin_delay
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Nov 2016 00:39:44 +0000 (11:39 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Nov 2016 00:39:44 +0000 (11:39 +1100)
commit656152e552e5cbe0c11ad261b524376217c2fb13
tree0fcab8d56dc13540a6ba9ed7205d4ee28347e530
parent65c5f419788d623a0410eca1866134f5e4628594
xfs: use new extent lookup helpers xfs_file_iomap_begin_delay

And only lookup the previous extent inside xfs_iomap_prealloc_size
if we actually need it.

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