Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe7c8051 authored by Al Viro's avatar Al Viro
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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: