From: Jan Schmidt Date: Tue, 28 May 2013 15:47:22 +0000 (+0000) Subject: Btrfs: fix memory patcher through fs_info->qgroup_ulist X-Git-Tag: v3.11-rc1~70^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4373519db4dbca05341a60b28f6e159b106e4c4b;p=pandora-kernel.git 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 Signed-off-by: Jan Schmidt Signed-off-by: Josef Bacik --- Reading git-diff-tree failed