diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-04-13 19:25:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-04-13 19:25:32 +0200 |
commit | 76b0e9c42996e1883b1783afbe139ed78cf62860 (patch) | |
tree | cde64d98ae3c73cdea7d589888085b8f473b8b30 /fs | |
parent | Merge tag 'v6.9-rc3-SMB3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
parent | zonefs: Use str_plural() to fix Coccinelle warning (diff) | |
download | linux-76b0e9c42996e1883b1783afbe139ed78cf62860.tar.xz linux-76b0e9c42996e1883b1783afbe139ed78cf62860.zip |
Merge tag 'zonefs-6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs
Pull zonefs fix from Damien Le Moal:
- Suppress a coccicheck warning using str_plural()
* tag 'zonefs-6.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs:
zonefs: Use str_plural() to fix Coccinelle warning
Diffstat (limited to 'fs')
-rw-r--r-- | fs/zonefs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index c6a124e8d565..964fa7f24003 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -1048,7 +1048,7 @@ static int zonefs_init_zgroup(struct super_block *sb, zonefs_info(sb, "Zone group \"%s\" has %u file%s\n", zonefs_zgroup_name(ztype), zgroup->g_nr_zones, - zgroup->g_nr_zones > 1 ? "s" : ""); + str_plural(zgroup->g_nr_zones)); return 0; } |