diff options
| author | Qing Wang <[email protected]> | 2021-10-13 03:28:51 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-01-10 18:25:55 +0000 |
| commit | dfac1a167068d60b36cc8f2081394a28b6fc424b (patch) | |
| tree | 6b7711a72bb242408267a3d6e82e4bf92101d597 /fs/ext4/fast_commit.c | |
| parent | ext4: make sure to reset inode lockdep class when quota enabling fails (diff) | |
| download | kernel-dfac1a167068d60b36cc8f2081394a28b6fc424b.tar.gz kernel-dfac1a167068d60b36cc8f2081394a28b6fc424b.zip | |
ext4: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions.
Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Signed-off-by: Qing Wang <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
