From: Trond Myklebust <trond.myklebust@fys.uio.no>

NFSv4: Fix an Oopsable condition if we fail to get the root directory under
NFSv4.


---

 fs/nfs/nfs4proc.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN fs/nfs/nfs4proc.c~nfs-04-fix_nfs4client fs/nfs/nfs4proc.c
--- 25/fs/nfs/nfs4proc.c~nfs-04-fix_nfs4client	2004-01-09 22:16:11.000000000 -0800
+++ 25-akpm/fs/nfs/nfs4proc.c	2004-01-09 22:16:11.000000000 -0800
@@ -851,6 +851,7 @@ no_setclientid:
 out_unlock:
 	up_write(&clp->cl_sem);
 	nfs4_put_client(clp);
+	server->nfs4_state = NULL;
 	return status;
 }
 

_