aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-08 11:44:56 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-07-12 10:04:19 -0400
commitbe12af3ef5e61ebc44d065e121424ac605d7bb8e (patch)
tree00f858b381e073359853abe0389bc7a51a8a5a06 /include/linux/fs.h
parentIMA: don't propagate opened through the entire thing (diff)
downloadlinux-dev-be12af3ef5e61ebc44d065e121424ac605d7bb8e.tar.xz
linux-dev-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 '')
-rw-r--r--include/linux/fs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index ca668c7e48a7..70be3e4c26ac 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2441,8 +2441,7 @@ enum {
FILE_OPENED = 2
};
extern int finish_open(struct file *file, struct dentry *dentry,
- int (*open)(struct inode *, struct file *),
- int *opened);
+ int (*open)(struct inode *, struct file *));
extern int finish_no_open(struct file *file, struct dentry *dentry);
/* fs/ioctl.c */