]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: refactor remote attr value buffer invalidation
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 8 Jan 2020 17:08:07 +0000 (09:08 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 16 Jan 2020 16:07:23 +0000 (08:07 -0800)
commit8edbb26b06023de31ad7d4c9b984d99f66577929
tree22a515022386a46057cf9a0b761f4f55cca752e8
parent7b53b868a1812a9a6ab5e69249394bd37f29ce2c
xfs: refactor remote attr value buffer invalidation

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>
fs/xfs/libxfs/xfs_attr_remote.c
fs/xfs/libxfs/xfs_attr_remote.h