On Thu, Sep 28, 2006 at 08:57:08AM -0400, Trond Myklebust wrote: > On Thu, 2006-09-28 at 13:42 +0100, Al Viro wrote: > > 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). > > That would mean that I can in practice unmount directories on your > client simply by renaming a directory on my client. I can't see how that > would be acceptable either. And what are you going to do if I remove it and its ancestors on my client? - 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