[lkml]   [2001]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [linux-lvm] EXT2-fs panic (device lvm(58,0)):
On Fri, 23 Mar 2001, Stephen C. Tweedie wrote:

> Hi,
> On Wed, Mar 07, 2001 at 01:35:05PM -0700, Andreas Dilger wrote:
> > The only remote possibility is in ext2_free_blocks() if block+count
> > overflows a 32-bit unsigned value. Only 2 places call ext2_free_blocks()
> > with a count != 1, and ext2_free_data() looks to be OK. The other
> > possibility is that i_prealloc_count is bogus - that is it! Nowhere
> > is i_prealloc_count initialized to zero AFAICS.
> >
> Did you ever push this to Alan and/or Linus? This looks pretty
> important!

It isn't. Check fs/inode.c::clean_inode(). Specifically,
memset(&inode->u, 0, sizeof(inode->u));
The thing is called both by get_empty_inode() and by get_new_inode() (the
former - just before returning, the latter - just before calling

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:17    [W:0.044 / U:1.352 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site