]> Git Repo - qemu.git/commit
sheepdog: make sure we don't free aiocb before sending all requests
authorMORITA Kazutaka <[email protected]>
Tue, 26 Jun 2012 22:26:21 +0000 (07:26 +0900)
committerKevin Wolf <[email protected]>
Mon, 9 Jul 2012 13:53:01 +0000 (15:53 +0200)
commit1d732d7d7ca1731b6b77e791ca57743449620fe3
treea6c0cc1722dec70c6892226ab2bf21b65dadc050
parentb97564f4c5457b218c7dd56dde0554ce4765cae9
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: MORITA Kazutaka <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/sheepdog.c
This page took 0.021596 seconds and 4 git commands to generate.