diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2010-02-28 10:59:11 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-03-15 11:00:14 -0400 |
commit | 91748467a5c5884e44ad5cf58630c0c28474f1f6 (patch) | |
tree | 593f2449e069e34fe96ba0e59efa8bf71242ad46 /fs/btrfs/ioctl.c | |
parent | 1406e4327be3a533a2b18582f715ce2cfbcf6804 (diff) |
btrfs: use memparse
Use memparse() instead of its own private implementation.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 9213d39d36c..363e209679b 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, mod = 1; sizestr++; } - new_size = btrfs_parse_size(sizestr); + new_size = memparse(sizestr, NULL); if (new_size == 0) { ret = -EINVAL; goto out_unlock; |