Commit 5d847a8e authored by Li Hong's avatar Li Hong Committed by Chris Mason

Btrfs: remove outdated comment in btrfs_ioctl_resize()

In Li Zefan's commit dae7b665,
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: default avatarLi Hong <lihong.hi@gmail.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent cc7b0c9b
...@@ -437,10 +437,6 @@ out_unlock: ...@@ -437,10 +437,6 @@ out_unlock:
return 0; return 0;
} }
/*
* Called inside transaction, so use GFP_NOFS
*/
static int btrfs_ioctl_resize(struct btrfs_root *root, void __user *arg) static int btrfs_ioctl_resize(struct btrfs_root *root, void __user *arg)
{ {
u64 new_size; u64 new_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment