projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d08f7
)
[PATCH] NFS: Fix typo in nfs_get_client()
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sun, 8 Oct 2006 18:33:24 +0000
(14:33 -0400)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sun, 8 Oct 2006 19:07:03 +0000
(12:07 -0700)
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>
fs/nfs/client.c
patch
|
blob
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index 6e4e48c5092afec39d716309ccccd5900105d4e3..d2533e214255b4a7287138ab09ca38beaf133b54 100644
(file)
--- 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();
}