mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f1d08f7197
commit
ca4aa09635
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue