From: Andy Ryan Date: Tue, 7 Nov 2006 20:36:26 +0000 (-0600) Subject: NFS Exclusive open not supported bug X-Git-Tag: v2.6.20-rc1~34^2~412^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b9f8e1484352f09f229107ba2a758fe386d7f7;p=pandora-kernel.git NFS Exclusive open not supported bug When trying to open a file with the O_EXCL flag over NFS on a server that does not support exclusive mode, the file does not open. The reason, rpc_call_sync returns a errno number, and not the nfs error number. I fixed it by changing the status check in nfs3proc.c. Either this is how it should be fixed, or rpc_call_sync should be fixed to return the NFS error. Signed-off-by: Andy Ryan Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed