Skip to content

Commit

Permalink
Btrfs: remove outdated comment in btrfs_ioctl_resize()
Browse files Browse the repository at this point in the history
In Li Zefan's commit dae7b66,
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>
  • Loading branch information
Li Hong authored and Chris Mason committed May 14, 2009
1 parent cc7b0c9 commit 5d847a8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,6 @@ static int btrfs_defrag_file(struct file *file)
return 0;
}

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

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

0 comments on commit 5d847a8

Please sign in to comment.