sysfs: use memdup_user()
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 8 Apr 2009 07:07:30 +0000 (15:07 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Apr 2009 03:02:50 +0000 (23:02 -0400)
commit1c8542c7bb239ef02fe21477acd9cdac04c1b640
tree45d9f29f241203608866f8246a699bc00b6ecf6b
parentdae7b665cf6d6e6e733f1c9c16cf55547dd37e33
sysfs: use memdup_user()

Remove open-coded memdup_user().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/sysfs/bin.c