[PATCH 06/16] staging: lustre: simplify l_wait_event when intr handler but no timeout.

2017-12-17 Thread NeilBrown
If l_wait_event() is given a function to be called on a signal, but no timeout or timeout handler, then the intr function is simply called at the end if the wait was aborted by a signal. So a simpler way to write the code (in the one place this case is used) it to open-code the body of the

[PATCH 06/16] staging: lustre: simplify l_wait_event when intr handler but no timeout.

2017-12-17 Thread NeilBrown
If l_wait_event() is given a function to be called on a signal, but no timeout or timeout handler, then the intr function is simply called at the end if the wait was aborted by a signal. So a simpler way to write the code (in the one place this case is used) it to open-code the body of the