diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-04 00:39:23 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-08-04 04:15:41 -0400 |
commit | fe7c80518e34d1786f4a940ce673a0bfcbe53298 (patch) | |
tree | 2edcc5a31a45da5ac4518fdd024505dbeafe7cbd /fs/open.c | |
parent | 5c57f20b824a163bd7dfa42abc76582ad24a745a (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -717,7 +717,7 @@ cleanup_all: | |||
717 | * here, so just reset the state. | 717 | * here, so just reset the state. |
718 | */ | 718 | */ |
719 | file_reset_write(f); | 719 | file_reset_write(f); |
720 | mnt_drop_write(f->f_path.mnt); | 720 | __mnt_drop_write(f->f_path.mnt); |
721 | } | 721 | } |
722 | } | 722 | } |
723 | cleanup_file: | 723 | cleanup_file: |