Re: inodes are not cleared!

Bill Hawes (whawes@star.net)
Thu, 23 Jul 1998 10:35:43 -0400


kuznet@ms2.inr.ac.ru wrote:

> The alternative is to audit linux/*.

Always a good idea :-)

> Well, I've just done two blind shots to potentially weak directions
> and found bugs in both ones for 1 minute.
> pipe is broken, nfs is also not clean in some marginal case.

Yes, that's correct. The fs/pipe case wants i_flags = 0, the nfs case
needs i_flags = sb->s_flags. I put patches together last night and will
send them in to Linus.

The moral: users of get_empty_inode() need to be more careful. (Your
morals may vary.)

Regards,
Bill

-
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.altern.org/andrebalsa/doc/lkml-faq.html