Re: find_fh_dentry returned a DISCONNECTED directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Josef Bacik <jbacik@xxxxxx> writes:

> So neither of these cases happened, I just didn't see _anything_ in
> the directory when I mounted the fs.  Once I mounted the parent subvol
> and walked into the default subvol I could see everything properly.
> This is with clearing DISCONNECTED and still using d_splice_alias() in
> lookup.
>
> Once I switched d_splice_alias() to d_materialise_unique() in
> btrfs_lookup() everything went back to working as normal.  So I'm
> calling it a win and forgetting we ever had this conversation.
> Thanks,

Yes. d_splice_alias won't find anything unless DCACHE_DISCONNECTED is
set, and dmaterialse_unique is definitely what you want.

Eric

--
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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux