]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/nfs/dir.c
Revert "NFSv4: Fall back to ordinary lookup if nfs4_atomic_open() returns EISDIR"
[mv-sheeva.git] / fs / nfs / dir.c
index 07ac3847e562b54c26efd30c9a9eabab468c309d..635ff65d3092fa49c841d38d6492f73b970617d9 100644 (file)
@@ -1345,12 +1345,12 @@ static struct dentry *nfs_atomic_lookup(struct inode *dir, struct dentry *dentry
                                res = NULL;
                                goto out;
                        /* This turned out not to be a regular file */
-                       case -EISDIR:
                        case -ENOTDIR:
                                goto no_open;
                        case -ELOOP:
                                if (!(nd->intent.open.flags & O_NOFOLLOW))
                                        goto no_open;
+                       /* case -EISDIR: */
                        /* case -EINVAL: */
                        default:
                                res = ERR_CAST(inode);