lkml.org 
[lkml]   [2013]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ext4: add check to io_submit_init_bio
Hi Ted,

On Thu, 6 Jun 2013 10:19:41 -0400 Theodore Ts'o <tytso@mit.edu> 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@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-06-07 02:21    [W:0.068 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site