summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorAnand Jain <Anand.Jain@oracle.com>2013-07-19 17:39:32 +0800
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:04:15 -0400
commita1b83ac52d23c85581b87836c346fb5cb90f6bfd (patch)
tree2c4a8512cc3c6e8f464082b3c98c20fc98fd08ba /fs/btrfs/inode.c
parentd4c34f6bffe246bcf05a1471873667d678a47a54 (diff)
downloadlinux-a1b83ac52d23c85581b87836c346fb5cb90f6bfd.tar.gz
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 <anand.jain@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions