diff options
author | Jan Kara <jack@suse.cz> | 2022-06-08 13:23:47 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-08-02 23:52:19 -0400 |
commit | 4978c659e7b5c1926cdb4b556e4ca1fd2de8ad42 (patch) | |
tree | 07eb6edafcf276b22ec8b33a68e0681ab28a4eb7 /fs/ext4/super.c | |
parent | 218a69441bf7f65155b96584e354f12c28b7944a (diff) |
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/super.c')
-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 6a8a752d812b..a6d71a41a0c4 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5585,7 +5585,7 @@ static struct inode *ext4_get_journal_inode(struct super_block *sb, return NULL; } - jbd_debug(2, "Journal inode found at %p: %lld bytes\n", + ext4_debug("Journal inode found at %p: %lld bytes\n", journal_inode, journal_inode->i_size); if (!S_ISREG(journal_inode->i_mode)) { ext4_msg(sb, KERN_ERR, "invalid journal inode"); |