Commit 530eb115 authored by Trond Myklebust's avatar Trond Myklebust

NFSv4: Fix an Oopsable condition if we fail to get the

root directory under NFSv4.
parent 62d3ffc4
...@@ -851,6 +851,7 @@ nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle, ...@@ -851,6 +851,7 @@ nfs4_proc_get_root(struct nfs_server *server, struct nfs_fh *fhandle,
out_unlock: out_unlock:
up_write(&clp->cl_sem); up_write(&clp->cl_sem);
nfs4_put_client(clp); nfs4_put_client(clp);
server->nfs4_state = NULL;
return status; return status;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment