]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: refactor remote attr value buffer invalidation
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 14 Mar 2020 03:00:22 +0000 (23:00 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Sat, 14 Mar 2020 03:00:22 +0000 (23:00 -0400)
commit5867837a4b2ef2a1eabb946fe53e08ae8b18f3b0
tree35ad91cc6f3d08de44feaf23794b283c3667466f
parent69e7b74fdaf5fc8725b67440409f0a7c0c3d1f73
xfs: refactor remote attr value buffer invalidation

Source kernel commit: 8edbb26b06023de31ad7d4c9b984d99f66577929

Hoist the code that invalidates remote extended attribute value buffers
into a separate helper function.  This prepares us for a memory
corruption fix in the next patch.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/libxfs_priv.h
libxfs/xfs_attr_remote.c
libxfs/xfs_attr_remote.h