diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-08-04 15:05:12 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:16:33 -0700 |
commit | 043cbcb963c1135956dda274a29623192274861f (patch) | |
tree | 07c4bdd5c5df391d7fc17883482d544981142f17 /fs/xfs/scrub/attr.h | |
parent | aaab115147f049fc863dfead03fde24481ac4acb (diff) |
xfs: check used space of shortform xattr structures
Make sure that the records used inside a shortform xattr structure do
not overlap.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/attr.h')
-rw-r--r-- | fs/xfs/scrub/attr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/attr.h b/fs/xfs/scrub/attr.h index 18445cc3d33b..5f6835752738 100644 --- a/fs/xfs/scrub/attr.h +++ b/fs/xfs/scrub/attr.h @@ -10,7 +10,7 @@ * Temporary storage for online scrub and repair of extended attributes. */ struct xchk_xattr_buf { - /* Bitmap of used space in xattr leaf blocks. */ + /* Bitmap of used space in xattr leaf blocks and shortform forks. */ unsigned long *usedmap; /* Bitmap of free space in xattr leaf blocks. */ |