projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0403e47
)
Btrfs: mnt_drop_write in ioctl_trans_end
author
Sage Weil
<sage@newdream.net>
Thu, 11 Dec 2008 21:30:06 +0000
(16:30 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 11 Dec 2008 21:30:06 +0000
(16:30 -0500)
Add missing mnt_drop_write to match the mnt_want_write in
btrfs_ioctl_trans_start.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/btrfs/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/ioctl.c
b/fs/btrfs/ioctl.c
index 6228b69c2b9392c877d7502c4adf7f6290a0a3a1..69c4a07f5869095148d2d79d3d89baceac29faab 100644
(file)
--- a/
fs/btrfs/ioctl.c
+++ b/
fs/btrfs/ioctl.c
@@
-1059,6
+1059,8
@@
long btrfs_ioctl_trans_end(struct file *file)
root->fs_info->open_ioctl_trans--;
mutex_unlock(&root->fs_info->trans_mutex);
+ mnt_drop_write(file->f_path.mnt);
+
out:
return ret;
}