]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: show rescue=usebackuproot in /proc/mounts
authorJosef Bacik <josef@toxicpanda.com>
Fri, 16 Oct 2020 15:29:17 +0000 (11:29 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:53:41 +0000 (15:53 +0100)
commitd863b95741264cd530b7d02ef05d3c4ee1e9e33c
tree9338ccd98e1188ee1ef0d4bacf2c534e32bf49aa
parente5ff5760338a5f1d12528402af00fb983d6be18f
btrfs: show rescue=usebackuproot in /proc/mounts

The standalone option usebackuproot was intended as one-time use and it
was not necessary to keep it in the option list. Now that we're going to
have more rescue options, it's desirable to keep them intact as it could
be confusing why the option disappears.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ remove the btrfs_clear_opt part from open_ctree ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/super.c