aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-08 13:06:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-07-12 10:04:20 -0400
commitb452a458caaa95d02b74897d35e87aa080122f07 (patch)
treeab883af2a04819d3c999c42e1211424da1c58bd5 /fs/fuse
parentbe12af3ef5e61ebc44d065e121424ac605d7bb8e (diff)
getting rid of 'opened' argument of ->atomic_open() - part 2
__gfs2_lookup(), gfs2_create_inode(), nfs_finish_open() and fuse_create_open() don't need 'opened' anymore. Get rid of that argument in those. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index a5b1f5ff8cb7..b8d7e9d423c8 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -399,7 +399,7 @@ static struct dentry *fuse_lookup(struct inode *dir, struct dentry *entry,
399 */ 399 */
400static int fuse_create_open(struct inode *dir, struct dentry *entry, 400static int fuse_create_open(struct inode *dir, struct dentry *entry,
401 struct file *file, unsigned flags, 401 struct file *file, unsigned flags,
402 umode_t mode, int *opened) 402 umode_t mode)
403{ 403{
404 int err; 404 int err;
405 struct inode *inode; 405 struct inode *inode;
@@ -513,7 +513,7 @@ static int fuse_atomic_open(struct inode *dir, struct dentry *entry,
513 if (fc->no_create) 513 if (fc->no_create)
514 goto mknod; 514 goto mknod;
515 515
516 err = fuse_create_open(dir, entry, file, flags, mode, opened); 516 err = fuse_create_open(dir, entry, file, flags, mode);
517 if (err == -ENOSYS) { 517 if (err == -ENOSYS) {
518 fc->no_create = 1; 518 fc->no_create = 1;
519 goto mknod; 519 goto mknod;