diff options
author | Roger Pau Monne <[email protected]> | 2014-02-04 11:26:14 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2014-02-07 12:59:30 -0500 |
commit | c05f3e3c85df1d89673e00cee7ece5ae4eb4c6ec (patch) | |
tree | bf77875d2640a0f4388aa9c20d7867e51878c45a /lib/cpu-notifier-error-inject.c | |
parent | ef753411339eae46b9a3151906901f8bfd12b0f1 (diff) |
xen-blkback: fix shutdown race
Introduce a new variable to keep track of the number of in-flight
requests. We need to make sure that when xen_blkif_put is called the
request has already been freed and we can safely free xen_blkif, which
was not the case before.
Signed-off-by: Roger Pau Monné <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: David Vrabel <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Tested-by: Matt Rushton <[email protected]>
Reviewed-by: Matt Rushton <[email protected]>
Cc: Matt Wilson <[email protected]>
Cc: Ian Campbell <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions