author: Al Viro <viro@zeniv.linux.org.uk> 2018-06-08 11:44:56 -0400
committer: Al Viro <viro@zeniv.linux.org.uk> 2018-07-12 10:04:19 -0400
commit: be12af3ef5e61ebc44d065e121424ac605d7bb8e
parent: 6035a27b25ab9dadc8c3d5c5df5eae3fca62fc95
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/fs/open.c b/fs/open.c
index d2030a3c5c52..dbaac9efc7fc 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -843,8 +843,7 @@ cleanup_file:
* Returns zero on success or -errno if the open failed.
*/
int finish_open(struct file *file, struct dentry *dentry,
- int (*open)(struct inode *, struct file *),
- int *opened)
+ int (*open)(struct inode *, struct file *))
{
BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */