ext4: explicitly inform user about orphan list cleanup
authorDmitry Monakhov <dmonakhov@openvz.org>
Tue, 16 Sep 2014 18:52:03 +0000 (14:52 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 16 Sep 2014 18:52:03 +0000 (14:52 -0400)
Production fs likely compiled/mounted w/o jbd debugging, so orphan
list clearing will be silent.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c

index 263201793c65cbb248853028c36213dd0e91a263..028935fc276003d8ead4e798b2cd8b3b1ff87f46 100644 (file)
@@ -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;
                }