summaryrefslogtreecommitdiffstats
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-06-08 13:23:47 +0200
committerTheodore Ts'o <tytso@mit.edu>2022-08-02 23:52:19 -0400
commit4978c659e7b5c1926cdb4b556e4ca1fd2de8ad42 (patch)
tree07eb6edafcf276b22ec8b33a68e0681ab28a4eb7 /fs/ext4/balloc.c
parent218a69441bf7f65155b96584e354f12c28b7944a (diff)
downloadlinux-4978c659e7b5c1926cdb4b556e4ca1fd2de8ad42.tar.gz
linux-4978c659e7b5c1926cdb4b556e4ca1fd2de8ad42.tar.bz2
linux-4978c659e7b5c1926cdb4b556e4ca1fd2de8ad42.zip
ext4: use ext4_debug() instead of jbd_debug()
We use jbd_debug() in some places in ext4. It seems a bit strange to use jbd2 debugging output function for ext4 code. Also these days ext4_debug() uses dynamic printk so each debug message can be enabled / disabled on its own so the time when it made some sense to have these combined (to allow easier common selecting of messages to report) has passed. Just convert all jbd_debug() uses in ext4 to ext4_debug(). Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Lukas Czerner <lczerner@redhat.com> Link: https://lore.kernel.org/r/20220608112355.4397-1-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 78ee3ef795ae..8ff4b9192a9f 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -666,7 +666,7 @@ int ext4_should_retry_alloc(struct super_block *sb, int *retries)
* it's possible we've just missed a transaction commit here,
* so ignore the returned status
*/
- jbd_debug(1, "%s: retrying operation after ENOSPC\n", sb->s_id);
+ ext4_debug("%s: retrying operation after ENOSPC\n", sb->s_id);
(void) jbd2_journal_force_commit_nested(sbi->s_journal);
return 1;
}