On Thu, Sep 28, 2006 at 08:31:18AM -0400, Trond Myklebust wrote: > > We don't _care_ if lookup() is not from rename. That's OK. > > You can't assume that you can always kill the subdirectories: they may > be in use. Even if no actual processes are using them, I may have > submounts. So what? Actual processes will get -ESTALE and STFU, submounts can bloody well stay where they are; since we don't free dentries, WTF would VFS care? Mark inodes so that nothing would be done to those directories, unhash them and be done with it. umount -l will be able to take them out just fine afterwards. *Or* we could even try and play with detaching them (needed on invalidation anyway). - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html