From: Anand Jain Date: Fri, 19 Jul 2013 09:39:32 +0000 (+0800) Subject: btrfs: fix get set label blocking against balance X-Git-Tag: v3.12-rc1~40^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1b83ac52d23c85581b87836c346fb5cb90f6bfd;p=pandora-kernel.git btrfs: fix get set label blocking against balance btrfs_ioctl_get_fslabel() and btrfs_ioctl_set_fslabel() used root->fs_info->volume_mutex mutex which caused operations like balance to block set/get label operation until its completion and generally balance operation takes a long time to complete, so it will be annoying to the user when cli appears hung also this patch will add a bit of optimization within the btrfs_ioctl_get_falabel() function. v1->v2: use fs_info->super_lock instead of uuid_mutex Signed-off-by: Anand Jain Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed