diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-10-08 14:33:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-08 12:07:03 -0700 |
commit | ca4aa09635516258f158a7bc1594a794e4c34864 (patch) | |
tree | 7b8632778a068ee083e463266a72530d0297fa04 /fs/nfs | |
parent | f1d08f71974dcf68ce4510a2dfaeb798b05df2c0 (diff) | |
download | linux-ca4aa09635516258f158a7bc1594a794e4c34864.tar.bz2 |
[PATCH] NFS: Fix typo in nfs_get_client()
NFS_CS_INITING > NFS_CS_READY, so instead of waiting for the structure to
get initialised, we currently immediately jump out of the loop without ever
sleeping.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfs')
-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 6e4e48c5092a..d2533e214255 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -330,7 +330,7 @@ found_client: for (;;) { set_current_state(TASK_INTERRUPTIBLE); if (signal_pending(current) || - clp->cl_cons_state > NFS_CS_READY) + clp->cl_cons_state != NFS_CS_INITING) break; schedule(); } |