aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorKOSAKI Motohiro <[email protected]>2009-10-26 16:49:36 -0700
committerLinus Torvalds <[email protected]>2009-10-29 07:39:25 -0700
commit478988d3b28e98a31e0cfe24e011e28ba0f3cf0d (patch)
tree0f14f3a2f242258d2d7a0ddb3025c308f666b7ee /include/linux/timerqueue.h
parent58355c7876a0754377c37c8af948b4cd423410e2 (diff)
cgroup: fix strstrip() misuse
cgroup_write_X64() and cgroup_write_string() ignore the return value of strstrip(). it makes small inconsistent behavior. example: ========================= # cd /mnt/cgroup/hoge # cat memory.swappiness 60 # echo "59 " > memory.swappiness # cat memory.swappiness 59 # echo " 58" > memory.swappiness bash: echo: write error: Invalid argument This patch fixes it. Cc: Li Zefan <[email protected]> Acked-by: Paul Menage <[email protected]> Signed-off-by: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions