]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: orangefs: replace scnprintf() with sysfs_emit()
authorShankari Anand <shankari.ak0208@gmail.com>
Tue, 24 Jun 2025 15:25:45 +0000 (20:55 +0530)
committerMike Marshall <hubcap@omnibond.com>
Mon, 21 Jul 2025 15:14:21 +0000 (11:14 -0400)
commit313bf5b79ed1e218b8b793bb297e5d24bdeed0cc
tree34857975831f2110b1bf870a4af2bf42eed0d5fe
parentcdfa1304657d6f23be8fd2bb0516380a3c89034e
fs: orangefs: replace scnprintf() with sysfs_emit()

Documentation/filesystems/sysfs.rst mentions that show() should only
use sysfs_emit() or sysfs_emit_at() when formating the value to be
returned to user space. So replace scnprintf() with sysfs_emit().

Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-sysfs.c