mirror of
https://github.com/torvalds/linux.git
synced 2025-11-11 22:19:23 +02:00
Read the entire size of the buffer, including the trailing new line
character.
Discovered while reading the sched domain names of CPU0:
before:
cat /sys/kernel/debug/sched/domains/cpu0/domain*/name
SMTMCDIE
after:
cat /sys/kernel/debug/sched/domains/cpu0/domain*/name
SMT
MC
DIE
Fixes:
|
||
|---|---|---|
| .. | ||
| file.c | ||
| inode.c | ||
| internal.h | ||
| Makefile | ||