Btrfs: fix some error codes in btrfs_qgroup_inherit()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 30 Jul 2012 08:16:10 +0000 (02:16 -0600)
committerChris Mason <chris.mason@oracle.com>
Tue, 28 Aug 2012 20:53:24 +0000 (16:53 -0400)
commit5986802c2fcc754040bb7ed95f30bb16c4a843b7
treefb9a0d1054a0e345bd6c30fabc7d3726fdf6e2c5
parentaa2ffd06168e25689e0eb9662bf4595ba2bbac14
Btrfs: fix some error codes in btrfs_qgroup_inherit()

These are returning zero when it should be returning a negative error
code.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
fs/btrfs/qgroup.c