Re: 2.1.47 oops (crash)

Bill Hawes (whawes@star.net)
Wed, 30 Jul 1997 19:19:41 -0400


Martin von Loewis wrote:

> So if the superblock is recycled, and the inode was not put with
> i_nlink==0, it may get recycled by the wrong file system. All kinds
> of strange things can happen.
>
> I hope I'm missing something.

No, you're not missing anything :-)

What's missing is that unmounting needs to invalidate inodes, and
invalidate_list() needs to be more aggressive (i.e. at least call
truncate_inode_pages()).

At least this much seems to help with some of the weirdness, but I
thinks there's still a problem lurking ...

Regards,
Bill