[PATCH 1/1] fs: ext4: make "File System is consistent\n" a debug message

20 Mar
2024
20 Mar
'24
2:23 p.m.
When accessing an ext2 system the message "File System is consistent\n" is shown after each write. This is superfluous noise. Only write a debug message.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com --- fs/ext4/ext4_journal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/ext4_journal.c b/fs/ext4/ext4_journal.c index 1a340b4764c..e80f797c8dc 100644 --- a/fs/ext4/ext4_journal.c +++ b/fs/ext4/ext4_journal.c @@ -430,7 +430,7 @@ int ext4fs_check_journal_state(int recovery_flag) printf("Recovery required\n"); } else { if (recovery_flag == RECOVER) - printf("File System is consistent\n"); + log_debug("File System is consistent\n"); goto end; }
--
2.43.0
394
Age (days ago)
415
Last active (days ago)
1 comments
2 participants
participants (2)
-
Heinrich Schuchardt
-
Tom Rini