summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-04-08 09:06:54 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2009-04-21 05:02:50 +0200
commitdae7b665cf6d6e6e733f1c9c16cf55547dd37e33 (patch)
treeab7f9fc54bcf735c7f331f78858ec0db7f634cdd /fs/sysfs
parentxattr: use memdup_user() (diff)
downloadlinux-dae7b665cf6d6e6e733f1c9c16cf55547dd37e33.tar.xz
linux-dae7b665cf6d6e6e733f1c9c16cf55547dd37e33.zip
btrfs: use memdup_user()
Remove open-coded memdup_user(). Note this changes some GFP_NOFS to GFP_KERNEL, since copy_from_user() may cause pagefault, it's pointless to pass GFP_NOFS to kmalloc(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions