]> git.baikalelectronics.ru Git - kernel.git/commit
xen/blkfront: realloc ring info in blkif_resume
authorBob Liu <bob.liu@oracle.com>
Wed, 25 Nov 2015 22:52:55 +0000 (17:52 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 30 Jan 2016 03:02:34 +0000 (22:02 -0500)
commitd33efc28f4b4c993b998c06ee5fc8b4d3c9f24fe
tree0c470a308daebce555d83fa1dc48805c43c57dec
parent8a7bb158104eb7383e90a78be4fcee7cc8cce3b3
xen/blkfront: realloc ring info in blkif_resume

Need to reallocate ring info in the resume path, because info->rinfo was freed
in blkif_free(). And 'multi-queue-max-queues' backend reports may have been
changed.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Reported-and-Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c