Searched hist:dae7b665cf6d6e6e733f1c9c16cf55547dd37e33 (Results 1 – 2 of 2) sorted by relevance
/linux/fs/btrfs/ |
H A D | ioctl.c | diff 5d847a8ed970d17e2734ff9e07a74fe36cceb24e Thu May 14 19:52:21 CEST 2009 Li Hong <lihong.hi@gmail.com> Btrfs: remove outdated comment in btrfs_ioctl_resize()
In Li Zefan's commit dae7b665cf6d6e6e733f1c9c16cf55547dd37e33, a combination call of kmalloc() and copy_from_user() is replaced by memdup_user(). So btrfs_ioctl_resize() doesn't use GFP_NOFS any more.
Signed-off-by: Li Hong <lihong.hi@gmail.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> diff dae7b665cf6d6e6e733f1c9c16cf55547dd37e33 Wed Apr 08 09:06:54 CEST 2009 Li Zefan <lizf@cn.fujitsu.com> 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>
|
H A D | super.c | diff dae7b665cf6d6e6e733f1c9c16cf55547dd37e33 Wed Apr 08 09:06:54 CEST 2009 Li Zefan <lizf@cn.fujitsu.com> 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>
|