diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-07-14 21:06:51 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:07 -0400 |
commit | 88c07f739786d00c7526d598956955c8310d72d2 (patch) | |
tree | 9f34060d43a1588532ff962cdf4c0d68d1a6110c /fs/bcachefs/bcachefs.h | |
parent | 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a (diff) | |
download | lwn-88c07f739786d00c7526d598956955c8310d72d2.tar.gz lwn-88c07f739786d00c7526d598956955c8310d72d2.zip |
bcachefs: Only check inode i_nlink during full fsck
Now that all filesystem operatinos that manipulate the filesystem
heirachy and i_nlink are fully atomic, we can add a feature bit to
indicate i_nlink doesn't need to be checked.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r-- | fs/bcachefs/bcachefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index b5e119d09a83..57132c79c4b9 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -472,6 +472,7 @@ enum { /* misc: */ BCH_FS_BDEV_MOUNTED, BCH_FS_FSCK_FIXED_ERRORS, + BCH_FS_FSCK_UNFIXED_ERRORS, BCH_FS_FIXED_GENS, BCH_FS_REBUILD_REPLICAS, BCH_FS_HOLD_BTREE_WRITES, |