On Mon, Aug 18, 2008 at 09:20:39PM +0100, David Woodhouse wrote: > On Mon, 2008-08-18 at 15:47 -0400, Chris Mason wrote: > > Lets pretend I had put in commments something like the code below. > > The important part is that directories have only one link, so they > > have only one backref. > > OK. Now can I rip that code out anyway? The VFS will never call > btrfs_lookup() for ".." -- not since the 2.2 kernel :) If you get_parent doesn't call into the lowlevel lookup code it doesn't need to handle "..". But most filesystems end up reusing the lookup code for get_parent. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
