Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 "