Skip to content
Commit 9e701c61 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

svcrpc: simpler request dropping



Currently we use -EAGAIN returns to determine when to drop a deferred
request.  On its own, that is error-prone, as it makes us treat -EAGAIN
returns from other functions specially to prevent inadvertent dropping.

So, use a flag on the request instead.

Returning an error on request deferral is still required, to prevent
further processing, but we no longer need worry that an error return on
its own could result in a drop.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent d76d1815
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment