summaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-08-04 06:39:23 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-08-04 10:15:41 +0200
commitfe7c80518e34d1786f4a940ce673a0bfcbe53298 (patch)
tree2edcc5a31a45da5ac4518fdd024505dbeafe7cbd /fs/open.c
parentUBIFS: nuke pdflush from comments (diff)
downloadlinux-fe7c80518e34d1786f4a940ce673a0bfcbe53298.tar.xz
linux-fe7c80518e34d1786f4a940ce673a0bfcbe53298.zip
missed mnt_drop_write() in do_dentry_open()
This one ought to be __mnt_drop_write(), to match __mnt_want_write() in the beginning... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index f3d96e7e7b19..bc132e167d2d 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -717,7 +717,7 @@ cleanup_all:
* here, so just reset the state.
*/
file_reset_write(f);
- mnt_drop_write(f->f_path.mnt);
+ __mnt_drop_write(f->f_path.mnt);
}
}
cleanup_file: