aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJan Schmidt <[email protected]>2013-05-28 15:47:22 +0000
committerJosef Bacik <[email protected]>2013-06-14 11:30:07 -0400
commit4373519db4dbca05341a60b28f6e159b106e4c4b (patch)
tree5d757bd4362c38cab798b6f4509802ad2a076b27 /lib/mpi/mpiutil.c
parentd52be818e618bd252601b340ca6df760d77410e8 (diff)
Btrfs: fix memory patcher through fs_info->qgroup_ulist
Commit 5b7c665e introduced fs_info->qgroup_ulist, that is allocated during btrfs_read_qgroup_config and meant to be used later by the qgroup accounting code. However, it is always freed before btrfs_read_qgroup_config returns, becuase the commit mentioned above adds a check for (ret), where a check for (ret < 0) would have been the right choice. This commit fixes the check. Cc: Wang Shilong <[email protected]> Signed-off-by: Jan Schmidt <[email protected]> Signed-off-by: Josef Bacik <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions