diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-30 15:44:55 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-22 21:35:03 -0800 |
commit | fbaf403dac73d7e3bf07c9ff8e041eae761c50c0 (patch) | |
tree | 7bc62c0b4f4973b3a6fd868d855a5c0e32e7bd20 /fs/xfs/scrub/scrub.h | |
parent | 300f4a38b93b1705abd6dd48a510e6b555701531 (diff) |
xfs: repair extended attributes
If the extended attributes look bad, try to sift through the rubble to
find whatever keys/values we can, zap the attr tree, and re-add the
values.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub/scrub.h')
-rw-r--r-- | fs/xfs/scrub/scrub.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h index 16ed1d3e1404..99c4a3021284 100644 --- a/fs/xfs/scrub/scrub.h +++ b/fs/xfs/scrub/scrub.h @@ -170,4 +170,7 @@ struct xchk_fscounters { unsigned long long icount_max; }; +bool xchk_xattr_set_map(struct xfs_scrub *sc, unsigned long *map, + unsigned int start, unsigned int len); + #endif /* __XFS_SCRUB_SCRUB_H__ */ |