diff options
| author | 2018-02-13 08:22:36 +1100 | |
|---|---|---|
| committer | 2018-02-16 15:19:10 +0100 | |
| commit | d7ce88fbb5dbc2263eb3a6a0c9888c17d65ffa97 (patch) | |
| tree | bb2e40c04401cb9008f95873b9f2ede15b196ad1 /include/linux/timerqueue.h | |
| parent | staging: lustre: introduce and use l_wait_event_abortable() (diff) | |
staging: lustre: simplify l_wait_event when intr handler but no timeout.
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 function after the
wait_event, if -ERESTARTSYS was returned.
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
