Re: [Bugme-new] [Bug 7495] New: Kernel periodically hangs.

From: David Howells
Date: Mon Nov 13 2006 - 06:25:33 EST


Neil Brown <neilb@xxxxxxx> wrote:

> it would appear that in:
> if (inode->i_sb && inode->i_sb->s_op->clear_inode)
> inode->i_sb->s_op->clear_inode(inode);
>
> inode->i_sb->s_op is NULL.

Agreed.

> This tends to suggest that generic_shutdown_super isn't releasing all inodes
> before the superblock gets destroyed.
>
> I cannot see how this could be happening

Perhaps sb->s_root == NULL? That would permit most of generic_shutdown_super()
to be bypassed, including the check that all the inodes have been consumed.

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