ext4: suppress ext4 orphan messages on mount
authorPaul Taysom <taysom@chromium.org>
Tue, 28 May 2013 11:51:21 +0000 (07:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 28 May 2013 11:51:21 +0000 (07:51 -0400)
commit566370a2e56837be98bc62d012fc2d2d11851db4
tree2b4cf23aade0e58d15bd7a76c59a255c01a1f7de
parenteee06c56784496805b198964c59fa8cd7c00bf48
ext4: suppress ext4 orphan messages on mount

Suppress the messages releating to processing the ext4 orphan list
("truncating inode" and "deleting unreferenced inode") unless the
debug option is on, since otherwise they end up taking up space in the
log that could be used for more useful information.

Tested by opening several files, unlinking them, then
crashing the system, rebooting the system and examining
/var/log/messages.

Addresses the problem described in http://crbug.com/220976

Signed-off-by: Paul Taysom <taysom@chromium.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c