OSDN Git Service

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)
commit68319c18cb21ab472ce2c4ed572257a42455ac01
tree9338ccd98e1188ee1ef0d4bacf2c534e32bf49aa
parentab0b4a3ebf145f54dc23b66a411f4bbbc59b0d96
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