Skip to content

Commit

Permalink
NFS: Remove incorrect BUG_ON in nfs_found_client
Browse files Browse the repository at this point in the history
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: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Jun 7, 2012
1 parent f25efd8 commit f07936f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/nfs/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f07936f

Please sign in to comment.