commit | 4ac20c70b0734b65662ded735e5f6ba0415bdb71 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Sun Jan 20 15:57:57 2013 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Sun Jan 20 16:21:21 2013 +0200 |
tree | 678b77e66230670e0461bb35d0bc00574b8865aa | |
parent | 18f39c416d18d74ac11d157e44247253d3fa30ae [diff] [blame] |
Btrfs: fix unlock order in btrfs_ioctl_rm_dev Fix unlock order in btrfs_ioctl_rm_dev(). Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index fcf1b1b..f5c1c15 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c
@@ -2319,8 +2319,8 @@ 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; }