diff options
| author | 2025-10-15 07:45:02 +0000 | |
|---|---|---|
| committer | 2025-10-20 15:22:21 +0200 | |
| commit | 4929ba5c5bd75dc28971f0909902e4624e92ad59 (patch) | |
| tree | 3358c86f647ee77aec800518b116266cf3784592 /scripts/Makefile.thinlto | |
| parent | dm: remove useless md->nr_zones variable (diff) | |
dm: sysfs: use sysfs_emit() in dm-sysfs.c
Replace sprintf()+strlen() with sysfs_emit(), the preferred helper for
sysfs show() routines. sysfs_emit() returns the number of bytes written,
guarantees NUL-termination, and clamps to PAGE_SIZE-1.
Reference: Documentation/filesystems/sysfs.rst.
No functional change intended.
Signed-off-by: Vivek BalachandharTN <vivek.balachandhar@gmail.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
