]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: don't free dentry private data when dropping lease
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 2 Apr 2009 23:57:46 +0000 (16:57 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 2 Apr 2009 23:57:46 +0000 (16:57 -0700)
src/kernel/mds_client.c

index 93f8bab5727cd5107e4b10b157b753ee885679dc..f16e8b0a9faa589011cd5c6d9d6de0b9d8218ca9 100644 (file)
@@ -1969,9 +1969,6 @@ void __ceph_mdsc_drop_dentry_lease(struct dentry *dentry)
        struct ceph_dentry_info *di = ceph_dentry(dentry);
 
        ceph_put_mds_session(di->lease_session);
-       ceph_dentry_lru_del(dentry);
-       kfree(di);
-       dentry->d_fsdata = NULL;
 }
 
 void ceph_mdsc_handle_lease(struct ceph_mds_client *mdsc, struct ceph_msg *msg)