diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2014-09-16 14:52:03 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-16 14:52:03 -0400 |
commit | 844749764b416ee2c4ba2da328c04eaad7388242 (patch) | |
tree | 6bb6d94ba59c4aa6b3d543302206ef9d2286c6b3 /fs | |
parent | 1245799f752fa817a030b3b4448466e83ee7d61d (diff) |
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: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 263201793c65..028935fc2760 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -2191,7 +2191,7 @@ static void ext4_orphan_cleanup(struct super_block *sb, | |||
2191 | if (EXT4_SB(sb)->s_mount_state & EXT4_ERROR_FS) { | 2191 | if (EXT4_SB(sb)->s_mount_state & EXT4_ERROR_FS) { |
2192 | /* don't clear list on RO mount w/ errors */ | 2192 | /* don't clear list on RO mount w/ errors */ |
2193 | if (es->s_last_orphan && !(s_flags & MS_RDONLY)) { | 2193 | if (es->s_last_orphan && !(s_flags & MS_RDONLY)) { |
2194 | jbd_debug(1, "Errors on filesystem, " | 2194 | ext4_msg(sb, KERN_INFO, "Errors on filesystem, " |
2195 | "clearing orphan list.\n"); | 2195 | "clearing orphan list.\n"); |
2196 | es->s_last_orphan = 0; | 2196 | es->s_last_orphan = 0; |
2197 | } | 2197 | } |