Searched hist:"0 bae89ec8b1519dae67036637942f5b5bbaa9424" (Results 1 – 1 of 1) sorted by relevance
/linux/fs/nfs/ |
H A D | client.c | diff 0bae89ec8b1519dae67036637942f5b5bbaa9424 Sun Oct 08 20:33:24 CEST 2006 Trond Myklebust <Trond.Myklebust@netapp.com> [PATCH] NFS: Fix typo in nfs_get_client()
Commit ca4aa09635516258f158a7bc1594a794e4c34864 fixed waiting for the structure to get initialised, but it is also possible to break out of the loop while still in TASK_INTERRUPTIBLE.
Replace the whole thing by wait_event_interruptible, which is much more readable, and doesn't suffer from these problems.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|