commit | 6098b45b32e6baeacc04790773ced9340601d511 | [log] [tgz] |
---|---|---|
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | Wed Sep 03 17:45:44 2014 +0800 |
committer | Benjamin LaHaise <bcrl@kvack.org> | Thu Sep 04 16:54:47 2014 -0400 |
tree | ef7d685783dc69524d1512dd6273fac127c8962b | |
parent | 2ff396be602f10b5eab8e73b24f20348fa2de159 [diff] |
aio: block exit_aio() until all context requests are completed 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> Cc: stable@vger.kernel.org