xen-blkback: fix leak on grant map error path
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 15 Sep 2014 09:55:27 +0000 (11:55 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 1 Oct 2014 20:32:31 +0000 (16:32 -0400)
commit61cecca865280bef4f8a9748d0a9afa5df351ac2
treeeb30df0f55ab4d62026151bb068c596262094d33
parent12ea729645ace01e08f9654df155622898d3aae6
xen-blkback: fix leak on grant map error path

Fix leaking a page when a grant mapping has failed.

CC: stable@vger.kernel.org
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reported-and-Tested-by: Tao Chen <boby.chen@huawei.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c