Re: [PATCH] zero out i_blocks in get_pipe_inode

From: Andi Kleen
Date: Tue Nov 11 2003 - 17:52:43 EST


On Tue, 11 Nov 2003 14:48:42 -0800
Andrew Morton <akpm@xxxxxxxx> wrote:

> "Martin J. Bligh" <mbligh@xxxxxxxxxxx> wrote:
> >
> > + inode->i_blocks = 0;
>
> alloc_inode() already did that.

It didn't in 2.4 I think. But it may be worth auditing if all fields are covered.

-Andi
-
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/