nfs41 fix NFS4ERR_CLID_INUSE for exchange id
authorAndy Adamson <andros@netapp.com>
Tue, 2 Mar 2010 18:19:36 +0000 (13:19 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Mar 2010 18:45:33 +0000 (13:45 -0500)
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>
fs/nfs/nfs4proc.c

index 68f1fe00c08cb2e77640a8369f4b44d1389190f6..adc116c57e14c52210ca9884807b82e7a877b916 100644 (file)
@@ -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())