]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/fuse/dir.c
IB/ipath: Test interrupts at driver startup
[linux-2.6-omap-h63xx.git] / fs / fuse / dir.c
index 8890eba1db524dbd020a5f32554c645f3efab809..bd5a772d8ccf09f09eee4310c4ce2174095f1314 100644 (file)
@@ -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;