diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-07 10:21:03 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-06-07 10:21:03 -0400 |
commit | f07936f2c446bd5310e669c8e6eab3f812ea665a (patch) | |
tree | ced57720605d6a79fe0fd1891462d5e3444bcbb4 /fs/nfs | |
parent | f25efd851cc8c0f63d74334bc784a437f4df8ee4 (diff) |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/client.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 7d108753af81..17ba6b995659 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -544,8 +544,6 @@ nfs_found_client(const struct nfs_client_initdata *cl_init, | |||
544 | 544 | ||
545 | smp_rmb(); | 545 | smp_rmb(); |
546 | 546 | ||
547 | BUG_ON(clp->cl_cons_state != NFS_CS_READY); | ||
548 | |||
549 | dprintk("<-- %s found nfs_client %p for %s\n", | 547 | dprintk("<-- %s found nfs_client %p for %s\n", |
550 | __func__, clp, cl_init->hostname ?: ""); | 548 | __func__, clp, cl_init->hostname ?: ""); |
551 | return clp; | 549 | return clp; |