forked from Minki/linux
f501b6a231
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 |