Al Viro d2988bd412 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: Al Viro <viro@zeniv.linux.org.uk>
2018-05-29 23:18:17 -04:00
..
2018-04-07 09:08:24 -07:00
2018-04-20 09:59:33 -07:00
2018-05-21 14:30:07 -04:00
2018-05-21 14:30:08 -04:00
2018-03-14 13:31:23 +01:00
2018-03-27 13:18:09 -04:00
2018-04-12 12:55:50 -07:00
2018-04-20 17:18:36 -07:00
2018-05-21 14:30:09 -04:00
2018-04-12 13:28:22 -07:00
2018-04-10 10:25:57 -07:00
2018-04-11 10:28:39 -07:00
2018-05-26 09:16:44 +02:00
2018-04-11 10:28:37 -07:00
2017-12-07 14:23:30 -05:00
2018-04-20 17:18:35 -07:00
2018-04-11 10:28:39 -07:00
2018-01-29 07:27:24 -08:00
2018-02-06 10:41:33 -08:00
2018-02-15 15:34:42 -05:00
2018-05-26 09:16:44 +02:00
2018-04-04 12:44:02 -07:00
2018-05-26 09:16:44 +02:00