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
[Site Home] [Kernel Newbies] [UNIX Filesystems] [Share Photos] [Security] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Ext4 Filesystem] [Linux Cachefs] [Reiser Filesystem] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |