Re: 2.6.11-rc5-mm1 nfs oddity, file creation => "no such file"

From: Helge Hafting
Date: Thu Mar 03 2005 - 05:39:25 EST


Andrew Morton wrote:

Helge Hafting <helgehaf@xxxxxxxxxxxxx> wrote:


I observed an oddity on a nfs-mounted fs while using 2.6.11-rc5-mm1.



Could you try this please?

--- 25/fs/nfs/nfs3proc.c~nfsacl-acl-umask-handling-workaround-in-nfs-client-fix 2005-03-02 08:49:59.000000000 -0800
+++ 25-akpm/fs/nfs/nfs3proc.c 2005-03-02 08:49:59.000000000 -0800
@@ -423,6 +423,9 @@ exit:
if (!inode)
goto out;
status = nfs3_set_default_acl(dir, inode, mode);
+ if (status)
+ goto out;
+ return inode;
}
out:
return ERR_PTR(status);
_



"cat > some_new_file" worked fine on NFS with this patch. I'll keep using
nfs at work with this.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/