diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-09-03 17:45:44 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-05 13:41:12 -0700 |
commit | 7dcde737525d27f9368f80b043806c622c67aa25 (patch) | |
tree | cbb6875864dec23e5cd72ad5b05eb7a021373351 /kernel/gcov/gcov.h | |
parent | 6449fc8c58f607719d3856a8e2fb662ea313cdfc (diff) |
aio: block exit_aio() until all context requests are completed
commit 6098b45b32e6baeacc04790773ced9340601d511 upstream.
It seems that exit_aio() also needs to wait for all iocbs to complete (like
io_destroy), but we missed the wait step in current implemention, so fix
it in the same way as we did in io_destroy.
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions