Linux CM: Update wait code
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 19 Apr 2011 07:18:56 +0000 (08:18 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 5 Jun 2011 15:10:41 +0000 (08:10 -0700)
commit8c2e83bab199f5d8820e27c77c7a97cee9cdd965
tree991c1c91b1c7eda66871a6e78c08f80259289df1
parent7a70c2907b0435653098a611a140fea1ac0b2fac
Linux CM: Update wait code

Update the wait code to use the more modern wait_event_freezable()
macros. If those macros are not available, fall back to the older
wait_event_interruptible macro, and build our own
wait_event_freezable on top of this.

These changes should simplify our interactions with the wait queue
and refrigerator bits of the kernel, as we're now using more standard
interfaces to them.

Change-Id: I5218c8a1b5b33f10355ef298008c53e416b267f9
Reviewed-on: http://gerrit.openafs.org/4753
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_compat.h
src/afs/LINUX/osi_sleep.c