commit | fe7c80518e34d1786f4a940ce673a0bfcbe53298 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Aug 04 08:39:23 2012 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Aug 04 12:15:41 2012 +0400 |
tree | 2edcc5a31a45da5ac4518fdd024505dbeafe7cbd | |
parent | 5c57f20b824a163bd7dfa42abc76582ad24a745a [diff] [blame] |
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>
diff --git a/fs/open.c b/fs/open.c index f3d96e7..bc132e1 100644 --- a/fs/open.c +++ b/fs/open.c
@@ -717,7 +717,7 @@ * 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: