From: Al Viro Date: Sat, 4 Aug 2012 04:39:23 +0000 (+0400) Subject: missed mnt_drop_write() in do_dentry_open() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe7c80518e34d1786f4a940ce673a0bfcbe53298;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/fs/open.c b/fs/open.c index f3d96e7e7b19..bc132e167d2d 100644 --- a/fs/open.c +++ b/fs/open.c @@ -717,7 +717,7 @@ cleanup_all: * 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: