xfs: remove superfluous writeback mapping eof trimming
authorBrian Foster <bfoster@redhat.com>
Fri, 1 Feb 2019 17:14:23 +0000 (09:14 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 12 Feb 2019 00:07:01 +0000 (16:07 -0800)
commit3b35089807304f208419b5ad9cc3c5f731225cd9
tree1db6026bc4b610447511337ea7badd88d06c7bc4
parentd9252d526ba66a8f95ad2830ae1b62825ef3dbd5
xfs: remove superfluous writeback mapping eof trimming

Now that the cached writeback mapping is explicitly invalidated on
data fork changes, the EOF trimming band-aid is no longer necessary.
Remove xfs_trim_extent_eof() as well since it has no other users.

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