commit | 4e876c2bd37fbb5c37a4554a79cf979d486f0e82 | [log] [tgz] |
---|---|---|
author | Bob Liu <bob.liu@oracle.com> | Wed Jul 27 17:42:04 2016 +0800 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Aug 19 12:31:59 2016 -0400 |
tree | 952f4cda64e34b387976e7321febe6571f37f199 | |
parent | 172335ada40ce26806e514c83a504b45c14a4139 [diff] |
xen-blkfront: free resources if xlvbd_alloc_gendisk fails Current code forgets to free resources in the failure path of xlvbd_alloc_gendisk(), this patch fix it. Signed-off-by: Bob Liu <bob.liu@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>