Skip to content

Commit e0d438c

Browse files
ISCAS-Vulabtytso
authored andcommitted
mballoc: replace seq_printf with seq_puts
seq_puts is a lot cheaper than seq_printf, so use that to print literal strings. Signed-off-by: Xu Wang <[email protected]> Reviewed-by: Ritesh Harjani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent dddcd2f commit e0d438c

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
@@ -2558,7 +2558,7 @@ static int ext4_mb_seq_groups_show(struct seq_file *seq, void *v)
25582558
for (i = 0; i <= 13; i++)
25592559
seq_printf(seq, " %-5u", i <= blocksize_bits + 1 ?
25602560
sg.info.bb_counters[i] : 0);
2561-
seq_printf(seq, " ]\n");
2561+
seq_puts(seq, " ]\n");
25622562

25632563
return 0;
25642564
}

0 commit comments

Comments
 (0)