diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-06-08 13:32:02 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-12 10:04:20 -0400 |
commit | 44907d79002466049fdbb8ef15730d185e0808b4 (patch) | |
tree | 3eedf1bdbd36f1d99da4710d7f934c286474f230 /fs/gfs2/inode.c | |
parent | b452a458caaa95d02b74897d35e87aa080122f07 (diff) |
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/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 15e2a8a3b917..648f0ca1ad57 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -1228,14 +1228,13 @@ static int gfs2_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, | |||
1228 | * @file: The proposed new struct file | 1228 | * @file: The proposed new struct file |
1229 | * @flags: open flags | 1229 | * @flags: open flags |
1230 | * @mode: File mode | 1230 | * @mode: File mode |
1231 | * @opened: Flag to say whether the file has been opened or not | ||
1232 | * | 1231 | * |
1233 | * Returns: error code or 0 for success | 1232 | * Returns: error code or 0 for success |
1234 | */ | 1233 | */ |
1235 | 1234 | ||
1236 | static int gfs2_atomic_open(struct inode *dir, struct dentry *dentry, | 1235 | static int gfs2_atomic_open(struct inode *dir, struct dentry *dentry, |
1237 | struct file *file, unsigned flags, | 1236 | struct file *file, unsigned flags, |
1238 | umode_t mode, int *opened) | 1237 | umode_t mode) |
1239 | { | 1238 | { |
1240 | struct dentry *d; | 1239 | struct dentry *d; |
1241 | bool excl = !!(flags & O_EXCL); | 1240 | bool excl = !!(flags & O_EXCL); |