diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:30:58 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-02-22 12:30:58 -0800 |
commit | f1184081ac97625d30c59851944f4c59ae7ddc2b (patch) | |
tree | 1995030ec381aaeea65e35ca27f9289b7a9831b1 /fs/xfs/xfs_inode.h | |
parent | 93687ee2e3748a4a6b541ff0d83d1480815b00a9 (diff) | |
download | lwn-f1184081ac97625d30c59851944f4c59ae7ddc2b.tar.gz lwn-f1184081ac97625d30c59851944f4c59ae7ddc2b.zip |
xfs: teach scrub to check file nlinks
Create the necessary scrub code to walk the filesystem's directory tree
so that we can compute file link counts. Similar to quotacheck, we
create an incore shadow array of link count information and then we walk
the filesystem a second time to compare the link counts. We need live
updates to keep the information up to date during the lengthy scan, so
this scrubber remains disabled until the next patch.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
0 files changed, 0 insertions, 0 deletions