[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <512DE80F02000078000C1650@nat28.tlf.novell.com>
Date: Wed, 27 Feb 2013 10:03:43 +0000
From: "Jan Beulich" <JBeulich@...e.com>
To: "Roger Pau Monné" <roger.pau@...rix.com>
Cc: "Chen Gang" <gang.chen@...anux.com>,
"Stefano Stabellini" <Stefano.Stabellini@...citrix.com>,
"konrad.wilk@...cle.com" <konrad.wilk@...cle.com>,
"dgdegra@...ho.nsa.gov" <dgdegra@...ho.nsa.gov>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drivers/block/xen-blkback: preq.dev is used
without initialized
>>> On 27.02.13 at 10:50, Roger Pau Monné<roger.pau@...rix.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists