On Tue, Sep 24, 2019 at 11:01:45AM -0400, Josef Bacik wrote: > Sorry I mis-read the code a little bit. This is purely for the subvolume link > directories. We haven't wandered down into this directory yet. If the > subvolume is being deleted and we still have the fake directory entry for it > then we just populate it with this dummy inode and then we can't lookup anything > underneath it. Thanks, Umm... OK, I guess my question would be better stated a bit differently: we have a directory inode, with btrfs_lookup() for lookups in it *and* with dcache_readdir() called when you try to do getdents(2) on that thing. How does that work?