lkml.org 
[lkml]   [2006]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH]use kzalloc in vfs where appropriate
Date
Am Freitag, 17. März 2006 22:08 schrieb Matthew Wilcox:
> On Fri, Mar 17, 2006 at 09:58:14PM +0100, Oliver Neukum wrote:
> > --- a/fs/bio.c 2006-03-11 23:12:55.000000000 +0100
> > +++ b/fs/bio.c 2006-03-17 16:44:49.000000000 +0100
> > @@ -635,12 +635,10 @@
> > return ERR_PTR(-ENOMEM);
> >
> > ret = -ENOMEM;
> > - pages = kmalloc(nr_pages * sizeof(struct page *), GFP_KERNEL);
> > + pages = kzalloc(nr_pages * sizeof(struct page *), GFP_KERNEL);
>
> Didn't we just discuss this one and conclude it needed to use kcalloc
> instead?

I've found some discussion in the archive, but no conclusion. Could you
elaborate?

Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-18 11:46    [W:0.080 / U:0.908 seconds]
©2003-2014 Jasper Spaans. Advertise on this site