Re: [PATCH] drivers/block/xen-blkback: preq.dev is usedwithout initialized
From: Jan Beulich
Date: Wed Feb 27 2013 - 05:03:51 EST
>>> On 27.02.13 at 10:50, Roger Pau MonnÃ<roger.pau@xxxxxxxxxx> wrote:
> On 27/02/13 05:52, Chen Gang wrote:
>>
>> if call xen_vbd_translate failed, the preq.dev will be not initialized.
>> so use blkif->vbd.pdevice instead (still better to print relative info).
>
> preq.dev is initialized a a couple of lines prior to calling
> xen_vbd_translate:
>
> preq.dev = req->u.rw.handle;
Not anymore after 01c681d4c70d64cb72142a2823f27c4146a02e63
(in Konrad's tree).
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/