From: Wang Shilong Date: Sat, 13 Jul 2013 13:02:54 +0000 (+0800) Subject: Btrfs: set qgroup_ulist to be null after calling ulist_free() X-Git-Tag: v3.12-rc1~40^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e7bac1ef754b3112eb78c64a7382d286e454424;p=pandora-kernel.git Btrfs: set qgroup_ulist to be null after calling ulist_free() We call ulist_free(qgroup_ulist) in btrfs_free_qgroup_config(), and btrfs_free_qgroup_config() may be called in two cases: (1)umount filesystem (2)disabling quota However, if we firstly disable quota and then umount filesystem, a double free happens. Fix it. Signed-off-by: Wang Shilong Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed