diff options
| -rw-r--r-- | fs/nfs/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 06e8719655f0..da74c4c4a244 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
| @@ -299,9 +299,9 @@ again: | |||
| 299 | spin_unlock(&nn->nfs_client_lock); | 299 | spin_unlock(&nn->nfs_client_lock); |
| 300 | error = nfs_wait_client_init_complete(clp); | 300 | error = nfs_wait_client_init_complete(clp); |
| 301 | nfs_put_client(clp); | 301 | nfs_put_client(clp); |
| 302 | spin_lock(&nn->nfs_client_lock); | ||
| 302 | if (error < 0) | 303 | if (error < 0) |
| 303 | return ERR_PTR(error); | 304 | return ERR_PTR(error); |
| 304 | spin_lock(&nn->nfs_client_lock); | ||
| 305 | goto again; | 305 | goto again; |
| 306 | } | 306 | } |
| 307 | 307 | ||
