projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFSv4: Fix a race in NFSv4.1 server trunking discovery
[linux-drm-fsl-dcu.git]
/
fs
/
nfs
/
client.c
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index f9f4845db989e58b7e09f3e46b185f5ff5d2d9e4..19874151e95c9908660132e6a3e2e6d7d2d3c8e4 100644
(file)
--- a/
fs/nfs/client.c
+++ b/
fs/nfs/client.c
@@
-433,7
+433,7
@@
static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *dat
static bool nfs_client_init_is_complete(const struct nfs_client *clp)
{
- return clp->cl_cons_state
!= NFS_CS_INITING
;
+ return clp->cl_cons_state
<= NFS_CS_READY
;
}
int nfs_wait_client_init_complete(const struct nfs_client *clp)