]> Pileus Git - ~andy/linux/blobdiff - fs/nfs/dir.c
Merge branch 'u300' into devel
[~andy/linux] / fs / nfs / dir.c
index 38d42c29fb923191e38e7fa045b05f49a808b0ab..32062c33c859496198395db435117c7c33105d3d 100644 (file)
@@ -1025,12 +1025,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:
                                goto out;