]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit376400009d55c52973c5292173d01fecc628157f
tree10a98679764221cdf87a9b067e60d13d1e72c110
parent08fafd42d2f52de8fbca7b6117f4ecda96af9ea9
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