From 530eb115c183e4b3058e78b7440358c70cb0bd5b Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Sat, 7 Feb 2004 16:26:47 +0100 Subject: [PATCH] NFSv4: Fix an Oopsable condition if we fail to get the root directory under NFSv4. --- fs/nfs/nfs4proc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 1f5f3909c7f86..f447a7a054494 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -851,6 +851,7 @@ no_setclientid: out_unlock: up_write(&clp->cl_sem); nfs4_put_client(clp); + server->nfs4_state = NULL; return status; } -- 2.53.0