commit | 89319d31d2d097da8e27fb0e0ae9d532f4f16827 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sun Oct 30 11:42:03 2016 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Oct 30 13:09:42 2016 -0400 |
tree | 157f0809709c4dd88818e5f76d84ef4aad196146 | |
parent | 723c038475b78edc9327eb952f95f9881cc9d79d [diff] |
fs: remove aio_run_iocb Pass the ABI iocb structure to aio_setup_rw and let it handle the non-vectored I/O case as well. With that and a new helper for the AIO return value handling we can now define new aio_read and aio_write helpers that implement reads and writes in a self-contained way without duplicating too much code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>