diff options
author | Vegard Nossum <[email protected]> | 2013-09-05 13:00:14 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2013-11-08 09:10:27 -0700 |
commit | ea5ec76d76da9279d12027c1828544c5ccbe7932 (patch) | |
tree | 0ce18ebc97696b04df2be341238b977c588b2fb5 /lib/mpi/mpi-internal.h | |
parent | c47206e25f28232ff979994c32758c82841d81cd (diff) |
xen/blkback: fix reference counting
If the permission check fails, we drop a reference to the blkif without
having taken it in the first place. The bug was introduced in commit
604c499cbbcc3d5fe5fb8d53306aa0fae1990109 (xen/blkback: Check device
permissions before allowing OP_DISCARD).
Cc: [email protected]
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions