summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-02-27 02:30:29 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-03 05:55:52 +0100
commit5e81357435cc0ef6b2ba4a9dcfca52be4e471cf5 (patch)
tree3d44440aba2d84cfe53c1839f489b7c925c2754c /fs/xfs/scrub
parentxfs: reject invalid flags combinations in XFS_IOC_ATTRLIST_BY_HANDLE (diff)
downloadlinux-5e81357435cc0ef6b2ba4a9dcfca52be4e471cf5.tar.xz
linux-5e81357435cc0ef6b2ba4a9dcfca52be4e471cf5.zip
xfs: remove the ATTR_INCOMPLETE flag
Replace the ATTR_INCOMPLETE flag with a new boolean field in struct xfs_attr_list_context. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub')
-rw-r--r--fs/xfs/scrub/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/attr.c b/fs/xfs/scrub/attr.c
index d9f0dd444b80..d804558cdbca 100644
--- a/fs/xfs/scrub/attr.c
+++ b/fs/xfs/scrub/attr.c
@@ -497,7 +497,7 @@ xchk_xattr(
sx.context.resynch = 1;
sx.context.put_listent = xchk_xattr_listent;
sx.context.tp = sc->tp;
- sx.context.flags = ATTR_INCOMPLETE;
+ sx.context.allow_incomplete = true;
sx.sc = sc;
/*