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

Commit 84474976 authored by Dmitry Monakhov's avatar Dmitry Monakhov Committed by Theodore Ts'o
Browse files

ext4: explicitly inform user about orphan list cleanup



Production fs likely compiled/mounted w/o jbd debugging, so orphan
list clearing will be silent.

Signed-off-by: default avatarDmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 1245799f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2191,7 +2191,7 @@ static void ext4_orphan_cleanup(struct super_block *sb,
	if (EXT4_SB(sb)->s_mount_state & EXT4_ERROR_FS) {
		/* don't clear list on RO mount w/ errors */
		if (es->s_last_orphan && !(s_flags & MS_RDONLY)) {
			jbd_debug(1, "Errors on filesystem, "
			ext4_msg(sb, KERN_INFO, "Errors on filesystem, "
				  "clearing orphan list.\n");
			es->s_last_orphan = 0;
		}