aio: all callers of aio_{read,write,fsync,poll} treat 0 and -EIOCBQUEUED the same way
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 May 2018 23:11:40 +0000 (19:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2018 03:17:40 +0000 (23:17 -0400)
commit9061d14a8a97009085242b284b5b5f668af2bf97
tree10a98679764221cdf87a9b067e60d13d1e72c110
parent3c96c7f4caeb044da53a85092903f9192f4e2342
aio: all callers of aio_{read,write,fsync,poll} treat 0 and -EIOCBQUEUED the same way

... so just make them return 0 when caller does not need to destroy iocb

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c