commit | 18f39c416d18d74ac11d157e44247253d3fa30ae | [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:20 2013 +0200 |
tree | 71c9a8cb5fb1f881cd0d95ce7d37b9a80cac1d7a | |
parent | 2c0c9da02a2c4289350da6e54202a86602c0f926 [diff] [blame] |
Btrfs: fix unlock order in btrfs_ioctl_resize Fix unlock order in btrfs_ioctl_resize(). Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 259dd52..fcf1b1b 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c
@@ -1446,8 +1446,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; }