From: Wang Shilong Date: Wed, 14 Aug 2013 01:13:37 +0000 (+0800) Subject: Btrfs: move btrfs_free_qgroup_config() out of spin_lock and fix comments X-Git-Tag: v3.12-rc1~40^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e685da14af6b31e4b336a110cb1bae1afc268be8;p=pandora-kernel.git Btrfs: move btrfs_free_qgroup_config() out of spin_lock and fix comments btrfs_free_qgroup_config() is not only called by open/close_ctree(),but also btrfs_disable_quota().And for btrfs_disable_quota(),we have set 'quota_root' to be null before calling btrfs_free_qgroup_config(),so it is safe to cleanup in-memory structures without lock held. Signed-off-by: Wang Shilong Reviewed-by: Miao Xie Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed