aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-10-08 14:33:24 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-08 12:07:03 -0700
commitca4aa09635516258f158a7bc1594a794e4c34864 (patch)
tree7b8632778a068ee083e463266a72530d0297fa04 /fs/nfs
parent[MIPS] Fix DECserial build error by IRQ hander change (diff)
downloadlinux-dev-ca4aa09635516258f158a7bc1594a794e4c34864.tar.xz
linux-dev-ca4aa09635516258f158a7bc1594a794e4c34864.zip
[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.c2
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();
}