aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2021-10-19 08:22:09 +0800
committerDavid Sterba <[email protected]>2021-10-26 19:08:07 +0200
commit020e5277583dc26d7a5322ff2d334c764ac1faa8 (patch)
tree1f29590d465b11ec30a84a1da07d720257aa2db1 /fs/btrfs/disk-io.c
parent3873247451eb354f2e96012e8da1da66b8de97e1 (diff)
btrfs: sysfs: convert scnprintf and snprintf to sysfs_emit
Commit 2efc459d06f1 ("sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs out") merged in 5.10 introduced two new functions sysfs_emit() and sysfs_emit_at() which are aware of the PAGE_SIZE limit of the output buffer. Use the above two new functions instead of scnprintf() and snprintf() in various sysfs show(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions