diff options
author | NeilBrown <[email protected]> | 2023-07-18 16:38:08 +1000 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2023-08-29 17:45:22 -0400 |
commit | 7b719e2bf342a59e88b2b6215b98ca4cf824bc58 (patch) | |
tree | eb26d38640ed8fc60561be0dd528ff7ecbfe288a /scripts/generate_rust_analyzer.py | |
parent | f78116d3bf4fd7a84451e1a2adc35df7a63fbbf4 (diff) |
SUNRPC: change svc_recv() to return void.
svc_recv() currently returns a 0 on success or one of two errors:
- -EAGAIN means no message was successfully received
- -EINTR means the thread has been told to stop
Previously nfsd would stop as the result of a signal as well as
following kthread_stop(). In that case the difference was useful: EINTR
means stop unconditionally. EAGAIN means stop if kthread_should_stop(),
continue otherwise.
Now threads only exit when kthread_should_stop() so we don't need the
distinction.
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions