lkml.org 
[lkml]   [1999]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Invalid inode->i_sb in clear_inode()? (was Re: Kernel Oops, 2.2.7)


On Wed, 5 May 1999, Steve Dodd wrote:

> Making a wild stab in the dark, I'd say that inode->i_sb points somewhere
> silly for this inode. I don't know why that should happen. This is probably
> a job for Mr. Viro, but I'll keep looking up the stack trace in case anything
> obvious leaps out at me.

Stack trace will not help here - grow_inodes() was called due to
shortage of free inodes and it stumbled accross the thing with i_count
being 0 and i_sb being FUBAR. We never deallocate struct super, so it's
not a case of a dangling pointer after kfree(). We never deallocate struct
inode and reuse it only for other inodes, so either it's a corrupted cache
chain (not modified outside of inode.c) or corrupted i_sb or random memory
corruption from completely unrelated source...


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

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