Skip to content

Commit 6a0c588

Browse files
tobluxtytso
authored andcommitted
ext4: use str_yes_no() helper function
Remove hard-coded strings by using the str_yes_no() helper function. Signed-off-by: Thorsten Blum <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 97f5ec3 commit 6a0c588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ext4/mballoc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5711,7 +5711,7 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
57115711
(unsigned long)ac->ac_b_ex.fe_logical,
57125712
(int)ac->ac_criteria);
57135713
mb_debug(sb, "%u found", ac->ac_found);
5714-
mb_debug(sb, "used pa: %s, ", ac->ac_pa ? "yes" : "no");
5714+
mb_debug(sb, "used pa: %s, ", str_yes_no(ac->ac_pa));
57155715
if (ac->ac_pa)
57165716
mb_debug(sb, "pa_type %s\n", ac->ac_pa->pa_type == MB_GROUP_PA ?
57175717
"group pa" : "inode pa");

0 commit comments

Comments
 (0)