All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Coddington <Benjamin.Coddington@uvm.edu>
To: linux-nfs@vger.kernel.org
Subject: [PATCH] Don't convert NFS4ERR_RESOURCE to EREMOTEIO
Date: Wed, 04 Mar 2009 13:42:30 -0500	[thread overview]
Message-ID: <49AECB96.5010909@uvm.edu> (raw)

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        },


             reply	other threads:[~2009-03-04 18:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-04 18:42 Benjamin Coddington [this message]
2009-03-04 18:57 ` [PATCH] Don't convert NFS4ERR_RESOURCE to EREMOTEIO 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49AECB96.5010909@uvm.edu \
    --to=benjamin.coddington@uvm.edu \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.