Skip to content

Commit 867b739

Browse files
prosun786tytso
authored andcommitted
ext4: use string choices helpers
Use string choice helpers for better readability and to fix cocci warning Reported-by: kernel test robot <[email protected]> Reported-by: Julia Lawall <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: R Sundar <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent 22d26f9 commit 867b739

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
@@ -6056,7 +6056,7 @@ static bool ext4_mb_discard_preallocations_should_retry(struct super_block *sb,
60566056
}
60576057

60586058
out_dbg:
6059-
mb_debug(sb, "freed %d, retry ? %s\n", freed, ret ? "yes" : "no");
6059+
mb_debug(sb, "freed %d, retry ? %s\n", freed, str_yes_no(ret));
60606060
return ret;
60616061
}
60626062

0 commit comments

Comments
 (0)