{
struct ceph_dentry_info *di = ceph_dentry(dn);
struct ceph_mds_client *mdsc;
+ dout(30, "dentry_lru_touch %p %p\t%.*s\n",
+ di, dn, dn->d_name.len, dn->d_name.name);
if (di) {
mdsc = &ceph_client(dn->d_sb)->mdsc;
struct ceph_dentry_info *di = ceph_dentry(dn);
struct ceph_mds_client *mdsc;
+ dout(30, "dentry_lru_del %p %p\t%.*s\n",
+ di, dn, dn->d_name.len, dn->d_name.name);
if (di) {
mdsc = &ceph_client(dn->d_sb)->mdsc;
spin_lock(&mdsc->dentry_lru_lock);
ceph_init_dentry(dn);
__init_ceph_dentry(dn, 0);
} else {
+ if (!ceph_dentry(dn))
+ __init_ceph_dentry(dn, 0);
dout(10, "dn %p attached to %p ino %llx.%llx\n",
dn, dn->d_inode, ceph_vinop(dn->d_inode));
}