devcgroup: use kmemdup()
authorLi Zefan <lizf@cn.fujitsu.com>
Sun, 19 Oct 2008 03:28:06 +0000 (20:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:38 +0000 (08:52 -0700)
commit2cdc7241a290bb2b9ef4c2e2969a4a3ed92abb63
treec544eeca8ed7777580ebd91f97778792d5ff6d07
parent886465f407e57d6c3c81013c919ea670ce1ae0d0
devcgroup: use kmemdup()

This saves 40 bytes on my x86_32 box.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/device_cgroup.c