Merge branch 'drm-nouveau-fixes-3.8' of git://anongit.freedesktop.org/git/nouveau...
[deliverable/linux.git] / fs / nfs / nfs4client.c
index 2f21f17fb16c47b0d19401fdc3d9eb2b6c3b4627..2e9779b58b7af6f3d143e60af3fba6abc8902a11 100644 (file)
@@ -440,14 +440,17 @@ int nfs41_walk_client_list(struct nfs_client *new,
                                nfs_put_client(prev);
                        prev = pos;
 
+                       nfs4_schedule_lease_recovery(pos);
                        status = nfs_wait_client_init_complete(pos);
                        if (status < 0) {
                                nfs_put_client(pos);
                                spin_lock(&nn->nfs_client_lock);
                                continue;
                        }
-
+                       status = pos->cl_cons_state;
                        spin_lock(&nn->nfs_client_lock);
+                       if (status < 0)
+                               continue;
                }
 
                if (pos->rpc_ops != new->rpc_ops)
This page took 0.024777 seconds and 5 git commands to generate.