sheepdog: make sure we don't free aiocb before sending all requests
This patch increments the pending counter before sending requests, and make sures that aiocb is not freed while sending them. Signed-off-by: NMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
想要评论请 注册 或 登录