From: Gu Zheng Date: Wed, 3 Sep 2014 09:45:44 +0000 (+0800) Subject: aio: block exit_aio() until all context requests are completed X-Git-Tag: fixes-v3.17-rc4~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6098b45b32e6baeacc04790773ced9340601d511;p=pandora-kernel.git 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 Signed-off-by: Benjamin LaHaise Cc: stable@vger.kernel.org --- Reading git-diff-tree failed