diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-27 02:13:10 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-30 06:18:17 +0300 |
commit | d2988bd412fac87859f0b68f5ea328fb0f09c216 (patch) | |
tree | 1a0df5ecf1d4c9400613e328e02d204ca01aa7a2 /net/unix/af_unix.c | |
parent | 9061d14a8a97009085242b284b5b5f668af2bf97 (diff) | |
download | linux-d2988bd412fac87859f0b68f5ea328fb0f09c216.tar.xz |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions