summaryrefslogtreecommitdiff
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-06-14 13:52:31 +0930
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:30 +0200
commit32e6216512b4119c1bb317c7305708f725832ff7 (patch)
treebe8a3f42519a2f51a1f7411e9b1b9ee0b2caec8a /fs/btrfs/sysfs.c
parent169aaaf2e0be615ffd4a12adc02db5eb86e8eee1 (diff)
downloadlwn-32e6216512b4119c1bb317c7305708f725832ff7.tar.gz
lwn-32e6216512b4119c1bb317c7305708f725832ff7.zip
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/sysfs.c')
-rw-r--r--fs/btrfs/sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 0e0e8eb84ca2..03926ad467c9 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -386,6 +386,7 @@ static const char *rescue_opts[] = {
"ignorebadroots",
"ignoredatacsums",
"ignoremetacsums",
+ "ignoresuperflags",
"all",
};