mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-22 16:06:04 -05:00
ext4: use str_yes_no() helper function
Remove hard-coded strings by using the str_yes_no() helper function. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20241021100056.5521-2-thorsten.blum@linux.dev Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
97f5ec3b16
commit
6a0c5887a5
1 changed files with 1 additions and 1 deletions
|
@ -5711,7 +5711,7 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
|
||||||
(unsigned long)ac->ac_b_ex.fe_logical,
|
(unsigned long)ac->ac_b_ex.fe_logical,
|
||||||
(int)ac->ac_criteria);
|
(int)ac->ac_criteria);
|
||||||
mb_debug(sb, "%u found", ac->ac_found);
|
mb_debug(sb, "%u found", ac->ac_found);
|
||||||
mb_debug(sb, "used pa: %s, ", ac->ac_pa ? "yes" : "no");
|
mb_debug(sb, "used pa: %s, ", str_yes_no(ac->ac_pa));
|
||||||
if (ac->ac_pa)
|
if (ac->ac_pa)
|
||||||
mb_debug(sb, "pa_type %s\n", ac->ac_pa->pa_type == MB_GROUP_PA ?
|
mb_debug(sb, "pa_type %s\n", ac->ac_pa->pa_type == MB_GROUP_PA ?
|
||||||
"group pa" : "inode pa");
|
"group pa" : "inode pa");
|
||||||
|
|
Loading…
Reference in a new issue