From: Ilya Dryomov Date: Sun, 20 Jan 2013 13:57:57 +0000 (+0200) Subject: Btrfs: fix unlock order in btrfs_ioctl_resize X-Git-Tag: MMI-PSA29.97-13-9~15121^2~9^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=18f39c416d18d74ac11d157e44247253d3fa30ae;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Btrfs: fix unlock order in btrfs_ioctl_resize Fix unlock order in btrfs_ioctl_resize(). Signed-off-by: Ilya Dryomov --- diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 259dd52d8785..fcf1b1b40082 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -1446,8 +1446,8 @@ out_free: kfree(vol_args); out: mutex_unlock(&root->fs_info->volume_mutex); - mnt_drop_write_file(file); atomic_set(&root->fs_info->mutually_exclusive_operation_running, 0); + mnt_drop_write_file(file); return ret; }