aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 9213d39d36cc..363e209679b6 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -776,7 +776,7 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
776 mod = 1; 776 mod = 1;
777 sizestr++; 777 sizestr++;
778 } 778 }
779 new_size = btrfs_parse_size(sizestr); 779 new_size = memparse(sizestr, NULL);
780 if (new_size == 0) { 780 if (new_size == 0) {
781 ret = -EINVAL; 781 ret = -EINVAL;
782 goto out_unlock; 782 goto out_unlock;