android_kernel_google_msm/drivers/block/xen-blkback
Vegard Nossum fbd604987d xen/blkback: fix reference counting
commit ea5ec76d76 upstream.

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
604c499cbb (xen/blkback: Check device
permissions before allowing OP_DISCARD).

Cc: Jan Beulich <JBeulich@suse.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-04 10:50:30 -08:00
..
blkback.c xen/blkback: fix reference counting 2013-12-04 10:50:30 -08:00
common.h xen/blkback: correctly respond to unknown, non-native requests 2013-04-05 10:04:18 -07:00
Makefile
xenbus.c xen-blkback: do not leak mode property 2013-03-04 06:06:40 +08:00