aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2018-05-26 23:13:10 +0000
committerAl Viro <[email protected]>2018-05-30 03:18:17 +0000
commitd2988bd412fac87859f0b68f5ea328fb0f09c216 (patch)
tree1a0df5ecf1d4c9400613e328e02d204ca01aa7a2 /net/tipc
parentaio: all callers of aio_{read,write,fsync,poll} treat 0 and -EIOCBQUEUED the ... (diff)
downloadkernel-d2988bd412fac87859f0b68f5ea328fb0f09c216.tar.gz
kernel-d2988bd412fac87859f0b68f5ea328fb0f09c216.zip
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 <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions