]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
CGroup API files: strip all trailing whitespace in cgroup_write_u64
authorPaul Menage <menage@google.com>
Tue, 29 Apr 2008 07:59:59 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:08 +0000 (08:06 -0700)
commitb7269dfc826fbf554c9e6a9eaa4e6ff95fa08656
tree3be0f111e9951deb4e7ea5930ea659742dea419e
parent2c3daa722b624eaf0c5ea60e4f180bd0684542e2
CGroup API files: strip all trailing whitespace in cgroup_write_u64

This removes the need for people to remember to pass the -n flag to echo when
writing values to cgroup control files.

Signed-off-by: Paul Menage <menage@google.com>
Cc: "Li Zefan" <lizf@cn.fujitsu.com>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: Paul Jackson <pj@sgi.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: "YAMAMOTO Takashi" <yamamoto@valinux.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cgroup.c