lkml.org 
[lkml]   [1998]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: inodes are not cleared!
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

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