diff options
author | Eric Sandeen <sandeen@redhat.com> | 2009-11-19 14:28:50 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-11-19 14:28:50 -0500 |
commit | e3bb52ae2bb9573e84c17b8e3560378d13a5c798 (patch) | |
tree | 529bbe0318f5bd6a2c76fb855c54b08bc85fd9e0 /fs/ext4 | |
parent | 5328e635315734d42080de9a5a1ee87bf4cae0a4 (diff) |
ext4: make "norecovery" an alias for "noload"
Users on the linux-ext4 list recently complained about differences
across filesystems w.r.t. how to mount without a journal replay.
In the discussion it was noted that xfs's "norecovery" option is
perhaps more descriptively accurate than "noload," so let's make
that an alias for ext4.
Also show this status in /proc/mounts
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 2b382f6f80c1..5a2db612950b 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -902,6 +902,9 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs) | |||
902 | if (test_opt(sb, DISCARD)) | 902 | if (test_opt(sb, DISCARD)) |
903 | seq_puts(seq, ",discard"); | 903 | seq_puts(seq, ",discard"); |
904 | 904 | ||
905 | if (test_opt(sb, NOLOAD)) | ||
906 | seq_puts(seq, ",norecovery"); | ||
907 | |||
905 | ext4_show_quota_options(seq, sb); | 908 | ext4_show_quota_options(seq, sb); |
906 | 909 | ||
907 | return 0; | 910 | return 0; |
@@ -1108,6 +1111,7 @@ static const match_table_t tokens = { | |||
1108 | {Opt_acl, "acl"}, | 1111 | {Opt_acl, "acl"}, |
1109 | {Opt_noacl, "noacl"}, | 1112 | {Opt_noacl, "noacl"}, |
1110 | {Opt_noload, "noload"}, | 1113 | {Opt_noload, "noload"}, |
1114 | {Opt_noload, "norecovery"}, | ||
1111 | {Opt_nobh, "nobh"}, | 1115 | {Opt_nobh, "nobh"}, |
1112 | {Opt_bh, "bh"}, | 1116 | {Opt_bh, "bh"}, |
1113 | {Opt_commit, "commit=%u"}, | 1117 | {Opt_commit, "commit=%u"}, |