aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/filesystems/ext4.txt4
-rw-r--r--fs/ext4/super.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/filesystems/ext4.txt b/Documentation/filesystems/ext4.txt
index 26904ff6d61b..af6885c3c821 100644
--- a/Documentation/filesystems/ext4.txt
+++ b/Documentation/filesystems/ext4.txt
@@ -153,8 +153,8 @@ journal_dev=devnum When the external journal device's major/minor numbers
153 identified through its new major/minor numbers encoded 153 identified through its new major/minor numbers encoded
154 in devnum. 154 in devnum.
155 155
156noload Don't load the journal on mounting. Note that 156norecovery Don't load the journal on mounting. Note that
157 if the filesystem was not unmounted cleanly, 157noload if the filesystem was not unmounted cleanly,
158 skipping the journal replay will lead to the 158 skipping the journal replay will lead to the
159 filesystem containing inconsistencies that can 159 filesystem containing inconsistencies that can
160 lead to any number of problems. 160 lead to any number of problems.
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"},