lookup on unlinked directory.

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Thu Sep 12 2002 - 13:27:33 EST


Hello,

why ->create(), ->unlink(), and ->readdir() are disabled on the unlinked
but open directory (one with ->i_flags |= S_DEAD), but ->lookup() is
not? This is especially strange, because ->rmdir() usually removes dot
and dotdot, but link_path_walk() will pretend they still exist.

Is this so for being able to do "cd .." from inside unlinked directory?

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



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:30 EST