mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
9061d14a8a
commit
d2988bd412
1 changed files with 3 additions and 4 deletions
7
fs/aio.c
7
fs/aio.c
Loading…
Add table
Add a link
Reference in a new issue