summaryrefslogtreecommitdiffstats
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-08 19:32:02 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-07-12 16:04:20 +0200
commit44907d79002466049fdbb8ef15730d185e0808b4 (patch)
tree3eedf1bdbd36f1d99da4710d7f934c286474f230 /fs/bad_inode.c
parentgetting rid of 'opened' argument of ->atomic_open() - part 2 (diff)
downloadlinux-44907d79002466049fdbb8ef15730d185e0808b4.tar.xz
linux-44907d79002466049fdbb8ef15730d185e0808b4.zip
get rid of 'opened' argument of ->atomic_open() - part 3
now it can be done... Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/bad_inode.c')
-rw-r--r--fs/bad_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bad_inode.c b/fs/bad_inode.c
index 125e8bbd22a2..8035d2a44561 100644
--- a/fs/bad_inode.c
+++ b/fs/bad_inode.c
@@ -134,7 +134,7 @@ static int bad_inode_update_time(struct inode *inode, struct timespec64 *time,
static int bad_inode_atomic_open(struct inode *inode, struct dentry *dentry,
struct file *file, unsigned int open_flag,
- umode_t create_mode, int *opened)
+ umode_t create_mode)
{
return -EIO;
}