提交 fe7c8051 编写于 作者: A Al Viro

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: NAl Viro <viro@zeniv.linux.org.uk>
上级 5c57f20b
...@@ -717,7 +717,7 @@ static int do_dentry_open(struct file *f, ...@@ -717,7 +717,7 @@ static int do_dentry_open(struct file *f,
* here, so just reset the state. * here, so just reset the state.
*/ */
file_reset_write(f); file_reset_write(f);
mnt_drop_write(f->f_path.mnt); __mnt_drop_write(f->f_path.mnt);
} }
} }
cleanup_file: cleanup_file:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册