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>
This commit is contained in:
parent
5c57f20b82
commit
fe7c80518e
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ static int do_dentry_open(struct file *f,
|
|||
* 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:
|
||||
|
|
Loading…
Reference in a new issue