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 15:34:56 -0700 |
commit | 0bae89ec8b1519dae67036637942f5b5bbaa9424 (patch) | |
tree | 12a37ef553a394f6794af74fa5d46a74350fc02b /lib/locking-selftest-rlock-softirq.h | |
parent | cb1055fb1b79775d398038ad8dcd2c7581f141d8 (diff) |
[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>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions