]> git.baikalelectronics.ru Git - kernel.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)
commit80e8ef468743b488c4ed6afbe424df6dc81ccc0c
tree22a515022386a46057cf9a0b761f4f55cca752e8
parent341a2f3a77d36759cee9c2385a27d95c8024cf6b
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