Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] Don't convert NFS4ERR_RESOURCE to EREMOTEIO
@ 2009-03-04 18:42 Benjamin Coddington
  2009-03-04 18:57 ` Trond Myklebust
  2009-03-04 19:01 ` J. Bruce Fields
  0 siblings, 2 replies; 8+ messages in thread
From: Benjamin Coddington @ 2009-03-04 18:42 UTC (permalink / raw)
  To: linux-nfs

Fixes a test in nfs4_proc_setclientid_confirm() which allows the client 
to retry an operation when the server returns NFS4ERR_RESOURCE, instead 
of returning EREMOTEIO to the user.

---
fs/nfs/nfs4xdr.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index d1e4c8f..61dda13 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4522,7 +4522,6 @@ static struct {
         { NFS4ERR_SERVERFAULT,  -ESERVERFAULT   },
         { NFS4ERR_BADTYPE,      -EBADTYPE       },
         { NFS4ERR_LOCKED,       -EAGAIN         },
-       { NFS4ERR_RESOURCE,     -EREMOTEIO      },
         { NFS4ERR_SYMLINK,      -ELOOP          },
         { NFS4ERR_OP_ILLEGAL,   -EOPNOTSUPP     },
         { NFS4ERR_DEADLOCK,     -EDEADLK        },


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-04 19:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 18:42 [PATCH] Don't convert NFS4ERR_RESOURCE to EREMOTEIO Benjamin Coddington
2009-03-04 18:57 ` Trond Myklebust
2009-03-04 19:01 ` J. Bruce Fields
2009-03-04 19:25   ` Benjamin Coddington
2009-03-04 19:33     ` J. Bruce Fields
2009-03-04 19:30   ` Trond Myklebust
     [not found]     ` <1236195010.7807.26.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-03-04 19:35       ` J. Bruce Fields
2009-03-04 19:49         ` Benjamin Coddington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox