Message ID | 20240320132352.46102-1-heinrich.schuchardt@canonical.com |
---|---|
State | Accepted |
Commit | 84a78872c4d359cedc7dcb90a3cc2ef61f7098cf |
Delegated to: | Tom Rini |
Headers | show |
Series | [1/1] fs: ext4: make "File System is consistent\n" a debug message | expand |
On Wed, 20 Mar 2024 14:23:52 +0100, Heinrich Schuchardt wrote: > 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. > > Applied to u-boot/master, thanks!
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; }
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(-)