Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f07936f2 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Remove incorrect BUG_ON in nfs_found_client



It is perfectly valid for nfs_get_client() to return a nfs_client that
is in the process of setting up the NFSv4.1 session.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent f25efd85
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -544,8 +544,6 @@ nfs_found_client(const struct nfs_client_initdata *cl_init,

	smp_rmb();

	BUG_ON(clp->cl_cons_state != NFS_CS_READY);

	dprintk("<-- %s found nfs_client %p for %s\n",
		__func__, clp, cl_init->hostname ?: "");
	return clp;