diff options
author | R Sundar <prosunofficial@gmail.com> | 2024-10-07 22:50:06 +0530 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-11-12 23:54:15 -0500 |
commit | 867b73909ae0fb6a44552f22ad589c0511c9f2a4 (patch) | |
tree | 1714658b1ecb9ba922d51952978f6619ada71a56 /fs/ext4 | |
parent | 22d26f9b0c3ee2ef75daf2feee8f0a9eac385939 (diff) | |
download | lwn-867b73909ae0fb6a44552f22ad589c0511c9f2a4.tar.gz lwn-867b73909ae0fb6a44552f22ad589c0511c9f2a4.zip |
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/mballoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 92f49d7eb3c0..9fc4b6177129 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c @@ -6056,7 +6056,7 @@ static bool ext4_mb_discard_preallocations_should_retry(struct super_block *sb, } out_dbg: - mb_debug(sb, "freed %d, retry ? %s\n", freed, ret ? "yes" : "no"); + mb_debug(sb, "freed %d, retry ? %s\n", freed, str_yes_no(ret)); return ret; } |