X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=fs%2Fnfs%2Fclient.c;h=892aefff36300a0861f9bf5d43cb7a4b5069d873;hb=f9ebd61855253078fe8b07bacaf516337f8078e8;hp=f9f4845db989e58b7e09f3e46b185f5ff5d2d9e4;hpb=66b3f4f0a0fcc197a1e432c3d2134f5c6a5275b9;p=karo-tx-linux.git diff --git a/fs/nfs/client.c b/fs/nfs/client.c index f9f4845db989..892aefff3630 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include @@ -433,7 +432,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)