Skip to content

Commit 1cde201

Browse files
Toshiyuki Okajimajankara
authored andcommitted
ext3: fix message in ext3_remount for rw-remount case
If there are some inodes in orphan list while a filesystem is being read-only mounted, we should recommend that peole umount and then mount it when they try to remount with read-write. But the current message and comment recommend that they umount and then remount it which may be slightly misleading. Signed-off-by: Toshiyuki Okajima <toshi.okajima@jp.fujitsu.com> Signed-off-by: Jan Kara <jack@suse.cz>
1 parent 5a0143a commit 1cde201

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎fs/ext3/super.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2669,13 +2669,13 @@ static int ext3_remount (struct super_block * sb, int * flags, char * data)
26692669
/*
26702670
* If we have an unprocessed orphan list hanging
26712671
* around from a previously readonly bdev mount,
2672-
* require a full umount/remount for now.
2672+
* require a full umount & mount for now.
26732673
*/
26742674
if (es->s_last_orphan) {
26752675
ext3_msg(sb, KERN_WARNING, "warning: couldn't "
26762676
"remount RDWR because of unprocessed "
26772677
"orphan inode list. Please "
2678-
"umount/remount instead.");
2678+
"umount & mount instead.");
26792679
err = -EINVAL;
26802680
goto restore_opts;
26812681
}

0 commit comments

Comments
 (0)