Re: [PATCH 1/2] omfs: fix potential oops when directory size is corrupted

From: Bob Copeland
Date: Fri Aug 15 2008 - 07:35:51 EST


On Fri, Aug 15, 2008 at 12:19:56AM -0700, Andrew Morton wrote:
> We don't need to use i_size_write() on this code path, but we do in other
> places. There's also i_size_read(). I wonder if omfs gets it right
> everywhere..

Good point, probably not. I'll audit for this...

--
Bob Copeland %% www.bobcopeland.com

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