projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25efd8
)
NFS: Remove incorrect BUG_ON in nfs_found_client
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 7 Jun 2012 14:21:03 +0000
(10:21 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 7 Jun 2012 14:21:03 +0000
(10:21 -0400)
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>
fs/nfs/client.c
patch
|
blob
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index
7d10875
..
17ba6b9
100644
(file)
--- a/
fs/nfs/client.c
+++ b/
fs/nfs/client.c
@@
-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;