xfs: remove the truncate short cut in xfs_map_blocks
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Feb 2019 16:02:50 +0000 (08:02 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 17 Feb 2019 19:55:54 +0000 (11:55 -0800)
commit19c8e4e25866fac5ba7138b902cc45b6d3c8e827
tree4abac233bf1bd6426ddd66cdf1a4930ae5c37f52
parent4ad765edb02a5333ce2fade642f116a67a3370ca
xfs: remove the truncate short cut in xfs_map_blocks

Now that we properly handle the race with truncate in the delalloc
allocator there is no need to short cut this exceptional case earlier
on.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c