]> git.hungrycats.org Git - linux/commitdiff
NFSv4: Fix an Oopsable condition if we fail to get the
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:26:47 +0000 (16:26 +0100)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:26:47 +0000 (16:26 +0100)
root directory under NFSv4.

fs/nfs/nfs4proc.c

index 1f5f3909c7f8668d36793d16b0f136a873d8ab84..f447a7a0544949d7aead405e2ffe2fa2c2c9ab4c 100644 (file)
@@ -851,6 +851,7 @@ no_setclientid:
 out_unlock:
        up_write(&clp->cl_sem);
        nfs4_put_client(clp);
+       server->nfs4_state = NULL;
        return status;
 }