diff options
author | Qu Wenruo <wqu@suse.com> | 2024-06-14 13:52:31 +0930 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:30 +0200 |
commit | 32e6216512b4119c1bb317c7305708f725832ff7 (patch) | |
tree | be8a3f42519a2f51a1f7411e9b1b9ee0b2caec8a /fs/btrfs/fs.h | |
parent | 169aaaf2e0be615ffd4a12adc02db5eb86e8eee1 (diff) |
btrfs: introduce new "rescue=ignoresuperflags" mount option
This new mount option allows the kernel to skip the super flags check,
it's mostly to allow the kernel to do a rescue mount of an interrupted
checksum conversion.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/fs.h')
-rw-r--r-- | fs/btrfs/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/fs.h b/fs/btrfs/fs.h index d5d473aafe98..e911e0a838a2 100644 --- a/fs/btrfs/fs.h +++ b/fs/btrfs/fs.h @@ -227,6 +227,7 @@ enum { BTRFS_MOUNT_NODISCARD = (1UL << 29), BTRFS_MOUNT_NOSPACECACHE = (1UL << 30), BTRFS_MOUNT_IGNOREMETACSUMS = (1UL << 31), + BTRFS_MOUNT_IGNORESUPERFLAGS = (1ULL << 32), }; /* |