Re: ext4 crash on 2.6.37: NULL ptr in ext4_discard_preallocations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 20, 2011 at 12:05:27AM -0500, Mark Lord wrote:
> I suppose it must be, as there's no other 0x3c offset in that function.
> Which means it's probably this line that's crashing:
> 
>              BUG_ON(pa->pa_obj_lock != &ei->i_prealloc_lock);
> 
> ...which could only happen if "pa" was NULL there.
> I wonder how that happened ?

Which could only happen if ei->i_prealloc_list were not properly
initialized (i..e, it was still NULL).  Which shouldn't ever
happen...., since all ext4_inodes are initialized in
ext4_alloc_inode().

Hmm, can you replicate the crash?

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux