projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f39c4
)
Btrfs: fix unlock order in btrfs_ioctl_rm_dev
author
Ilya Dryomov
<idryomov@gmail.com>
Sun, 20 Jan 2013 13:57:57 +0000
(15:57 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Sun, 20 Jan 2013 14:21:21 +0000
(16:21 +0200)
Fix unlock order in btrfs_ioctl_rm_dev().
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index fcf1b1b400823de809da09827ddc4c42a645b5eb..f5c1c150d9f3be7bcf2feb2edc0601dabc5ad3c3 100644
(file)
--- a/
fs/btrfs/ioctl.c
+++ b/
fs/btrfs/ioctl.c
@@
-2319,8
+2319,8
@@
static long btrfs_ioctl_rm_dev(struct file *file, void __user *arg)
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;
}