]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove superfluous writeback mapping eof trimming
authorBrian Foster <bfoster@redhat.com>
Mon, 6 May 2019 22:00:20 +0000 (18:00 -0400)
committerEric Sandeen <sandeen@redhat.com>
Mon, 6 May 2019 22:00:20 +0000 (18:00 -0400)
commit98da7e1d1d4f7efcb3d7261b249cec054b4a7034
treeea15adb6e2f87023dc871c1a1bb3501e4d7e3258
parenta2fa97f11ce10526ed27c02ea89bfd52bf26d25d
xfs: remove superfluous writeback mapping eof trimming

Source kernel commit: 3b35089807304f208419b5ad9cc3c5f731225cd9

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h