Btrfs: fix trivial error in btrfs_ioctl_resize()
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 21 Dec 2012 09:21:30 +0000 (09:21 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:36:44 +0000 (09:36 -0500)
commitdfd79829b709af3c2ac55951353a874ae89f41c3
tree61d5735498497251b1c757679715c7cb01f86c34
parent4eee4fa4f8ab8c2b2623c22be4c3cb91d525aa57
Btrfs: fix trivial error in btrfs_ioctl_resize()

This patch fixes the following problem:
- improper return value
- unnecessary read-only check

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.c