]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: streamline xfs_attr3_leaf_inactive
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 14 Mar 2020 03:00:39 +0000 (23:00 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Sat, 14 Mar 2020 03:00:39 +0000 (23:00 -0400)
commit30a4e0f9ce8286adad56d41ab7025945f698b3b0
tree706918f43dd1cf749cf247bc2fcd3c5b120d2b0f
parenta8bbb6284c9319a8a4f08cb9927e53f07c45a9a4
xfs: streamline xfs_attr3_leaf_inactive

Source kernel commit: 0bb9d159bd018b271e783d3b2d3bc82fa0727321

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