]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: invalidate dentry leases when unlinking
authorSage Weil <sage@inktank.com>
Fri, 24 May 2013 00:12:27 +0000 (17:12 -0700)
committerYan, Zheng <zheng.z.yan@intel.com>
Sat, 10 May 2014 03:50:09 +0000 (11:50 +0800)
commitd1c872d880e199adf76c1ddf425f53e73f45c100
treed31c29490c2bba00ecbdb8260873d0f0fe6b30f0
parentd852a69fba257b2d576b7f44eb73c757b9e57b37
client: invalidate dentry leases when unlinking

In many case when we are unlinking inodes we also need to invalidate the
dentry lease, as we are not promised that the dentry is NULL.  Be a bit
over-conservative here for good measure.

Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/client/Client.cc