summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-08 17:44:56 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-07-12 16:04:19 +0200
commitbe12af3ef5e61ebc44d065e121424ac605d7bb8e (patch)
tree00f858b381e073359853abe0389bc7a51a8a5a06 /fs/namei.c
parentIMA: don't propagate opened through the entire thing (diff)
downloadlinux-be12af3ef5e61ebc44d065e121424ac605d7bb8e.tar.xz
linux-be12af3ef5e61ebc44d065e121424ac605d7bb8e.zip
getting rid of 'opened' argument of ->atomic_open() - part 1
'opened' argument of finish_open() is unused. Kill it. Signed-off-by Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index d2aeb282ed05..117b118853f2 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3475,7 +3475,7 @@ static int do_tmpfile(struct nameidata *nd, unsigned flags,
if (error)
goto out2;
file->f_path.mnt = path.mnt;
- error = finish_open(file, child, NULL, opened);
+ error = finish_open(file, child, NULL);
out2:
mnt_drop_write(path.mnt);
out: