summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2010-03-02 19:19:36 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-03-02 19:45:33 +0100
commit180b62a3d837613fcac3ce89576526423926c3c3 (patch)
treecff928b1125667b2bb7d4df569a88b01e8c12091
parentNFS: Fix an allocation-under-spinlock bug (diff)
downloadlinux-180b62a3d837613fcac3ce89576526423926c3c3.tar.xz
linux-180b62a3d837613fcac3ce89576526423926c3c3.zip
nfs41 fix NFS4ERR_CLID_INUSE for exchange id
Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 68f1fe00c08c..adc116c57e14 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -4519,7 +4519,7 @@ int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred)
status = rpc_call_sync(clp->cl_rpcclient, &msg, 0);
- if (status != NFS4ERR_CLID_INUSE)
+ if (status != -NFS4ERR_CLID_INUSE)
break;
if (signalled())