Re: [PATCH] ext4: add check to io_submit_init_bio
From: Stephen Rothwell
Date: Thu Jun 06 2013 - 19:49:56 EST
Hi Ted,
On Thu, 6 Jun 2013 10:19:41 -0400 Theodore Ts'o <tytso@xxxxxxx> wrote:
>
> On Thu, Jun 06, 2013 at 11:56:53AM +1000, Stephen Rothwell wrote:
> >
> > In tracking this down, I followed the call chains and discovered that
> > io_submit_init_bio() only ever returned 0. Switching that to return
> > void and following back up the chain lead to the following patch.
>
> Actually, that's a bug. We're missing an check in that function.
> Thanks for looking at this code. (I'll fix the uninitialized err
> warning another way.)
Glad to be of service.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature