|
@@ -485,7 +485,7 @@ static int fuse_mknod(struct inode *dir, struct dentry *entry, int mode,
|
|
|
static int fuse_create(struct inode *dir, struct dentry *entry, int mode,
|
|
|
struct nameidata *nd)
|
|
|
{
|
|
|
- if (nd && (nd->flags & LOOKUP_CREATE)) {
|
|
|
+ if (nd && (nd->flags & LOOKUP_OPEN)) {
|
|
|
int err = fuse_create_open(dir, entry, mode, nd);
|
|
|
if (err != -ENOSYS)
|
|
|
return err;
|