Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -437,10 +437,6 @@ out_unlock:
	return 0;
}

/*
 * Called inside transaction, so use GFP_NOFS
 */

static int btrfs_ioctl_resize(struct btrfs_root *root, void __user *arg)
{
	u64 new_size;