diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2015-09-27 23:45:09 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 05:03:34 +0300 |
| commit | a11ef8ca94cccca98e0d7f23d5145cad71dd62f0 (patch) | |
| tree | 059257a7f48b14db1c2f27207d3f4a54ab827efd /include/linux | |
| parent | c8ff18106cf12af944c0c33ada5aa9a0a0e54048 (diff) | |
| download | linux-a11ef8ca94cccca98e0d7f23d5145cad71dd62f0.tar.xz | |
staging/lustre: avoid unnecessary timeval conversion
The lnet_eq_wait_locked tries to wait for time to pass or an event to
wake up the wait queue. The entire logic seems to be a very elaborate
reimplementation of wait_event().
I'm not trying to clean up the entire logic here, but this at least
gets rid of the multi-way conversion between miliseconds, timeval
and jiffies.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
