diff options
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c index 8890eba1db52..bd5a772d8ccf 100644 --- a/fs/fuse/dir.c +++ b/fs/fuse/dir.c | |||
@@ -485,7 +485,7 @@ static int fuse_mknod(struct inode *dir, struct dentry *entry, int mode, | |||
485 | static int fuse_create(struct inode *dir, struct dentry *entry, int mode, | 485 | static int fuse_create(struct inode *dir, struct dentry *entry, int mode, |
486 | struct nameidata *nd) | 486 | struct nameidata *nd) |
487 | { | 487 | { |
488 | if (nd && (nd->flags & LOOKUP_CREATE)) { | 488 | if (nd && (nd->flags & LOOKUP_OPEN)) { |
489 | int err = fuse_create_open(dir, entry, mode, nd); | 489 | int err = fuse_create_open(dir, entry, mode, nd); |
490 | if (err != -ENOSYS) | 490 | if (err != -ENOSYS) |
491 | return err; | 491 | return err; |