commit | aab66dfb757aa5b211ec6b0c322b42f4ef5ab34f | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 07 19:49:55 2019 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 02 09:58:59 2019 +0200 |
tree | 41d7e576269fbea8dc943ec75fb42df98492158a | |
parent | c20202c51d2b6703a4e539235f892f34daabd791 [diff] |
aio: store event at final iocb_put() commit 2bb874c0d873d13bd9b9b9c6d7b7c4edab18c8b4 upstream. Instead of having aio_complete() set ->ki_res.{res,res2}, do that explicitly in its callers, drop the reference (as aio_complete() used to do) and delay the rest until the final iocb_put(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>