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 <lkp@intel.com> Reported-by: Julia Lawall <julia.lawall@inria.fr> Closes: https://lore.kernel.org/r/202410062256.BoynX3c2-lkp@intel.com/ Signed-off-by: R Sundar <prosunofficial@gmail.com> Link: https://patch.msgid.link/20241007172006.83339-1-prosunofficial@gmail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 22d26f9 commit 867b739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)