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: Simon Ruderich <simon@ruderich.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
ff894c9c09
commit
d98bf8cd11
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue