Commit fe7c8051 authored by Al Viro's avatar 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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment