Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d2988bd4 authored by Al Viro's avatar Al Viro
Browse files

aio_read_events_ring(): make a bit more readable



The logics for 'avail' is
	* not past the tail of cyclic buffer
	* no more than asked
	* not past the end of buffer
	* not past the end of a page

Unobfuscate the last part.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9061d14a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment