xfs: d_add_ci() and dcache handling

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

 



Hi,

I'm playing with dcache codes recently. Then, by chance, I found newly
added dcache handling looks a bit strange.

xfs_vn_ci_lookup() doesn't create negative dentry (doesn't d_add(dentry,
NULL)), it would be no problem.

But creation path also doesn't do d_rehash() for it, even if it's passed
the non d_rehash()ed dentry. I.e. it just does d_instantiate().

Although I don't know whether it's a intent or not, maybe CI version
wants to do d_add() instead of d_instantiate()?

Thanks.
-- 
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
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