mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-07 04:26:29 +00:00
When freeing acked reesponses in the net layer we sweep the send and resend queues looking for queued responses up to the sequence number we've had acked. The code that did this used a weird pattern of returning ints and adding them which gave me pause. Clean it up to use bools and or (not short-circuiting ||) to more obviously communicate what's going on. Signed-off-by: Zach Brown <zab@versity.com>