]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: streamline xfs_attr3_leaf_inactive
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 14 Jan 2020 22:31:49 +0000 (14:31 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 16 Jan 2020 16:07:23 +0000 (08:07 -0800)
commit92ee175e92e8eb2d6541928b6cb70df201b494fa
treeb46adf4937b198357d225c4f33caee8cff69af07
parentf92249f71dd5f56f33ca7f89277fe37b4225c92f
xfs: streamline xfs_attr3_leaf_inactive

Now that we know we don't have to take a transaction to stale the incore
buffers for a remote value, get rid of the unnecessary memory allocation
in the leaf walker and call the rmt_stale function directly.  Flatten
the loop while we're at it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_attr_leaf.h
fs/xfs/xfs_attr_inactive.c