]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: attribute scrub should use seen_enough to pass error values
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 14 Aug 2019 22:05:17 +0000 (18:05 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 14 Aug 2019 22:05:17 +0000 (18:05 -0400)
commit07380ef07f8b354609377e2ec2a2ab3fb6496a4f
tree22616e493f5200660d6a6af76a471be666a34d7c
parent6d739937ae648de59cb236098dfffa1c3c6d097e
xfs: attribute scrub should use seen_enough to pass error values

Source kernel commit: 2c3b83d7ca6d73b9478afc86c89377c15a90b9ed

When we're iterating all the attributes using the built-in xattr
iterator, we can use the seen_enough variable to pass error codes back
to the main scrub function instead of flattening them into 0/1.  This
will be used in a more exciting fashion in upcoming patches.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.h