Commit d98bf8cd authored by Simon Ruderich's avatar Simon Ruderich Committed by Theodore Ts'o

ext4: mention noload when recovering on read-only device

Help the user to find the appropriate mount option to continue mounting
the file system on a read-only device if the journal requires recovery.
Signed-off-by: default avatarSimon Ruderich <simon@ruderich.org>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent ff894c9c
......@@ -4616,7 +4616,8 @@ static int ext4_load_journal(struct super_block *sb,
"required on readonly filesystem");
if (really_read_only) {
ext4_msg(sb, KERN_ERR, "write access "
"unavailable, cannot proceed");
"unavailable, cannot proceed "
"(try mounting with noload)");
return -EROFS;
}
ext4_msg(sb, KERN_INFO, "write access will "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment