diff options
-rw-r--r-- | fs/ceph/inode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index db684686f48a..8774b2811597 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c | |||
@@ -939,6 +939,10 @@ int ceph_fill_trace(struct super_block *sb, struct ceph_mds_request *req, | |||
939 | req->r_old_dentry->d_name.len, | 939 | req->r_old_dentry->d_name.len, |
940 | req->r_old_dentry->d_name.name, | 940 | req->r_old_dentry->d_name.name, |
941 | dn, dn->d_name.len, dn->d_name.name); | 941 | dn, dn->d_name.len, dn->d_name.name); |
942 | /* ensure target dentry is invalidated, despite | ||
943 | rehashing bug in vfs_rename_dir */ | ||
944 | dn->d_time = jiffies; | ||
945 | ceph_dentry(dn)->lease_shared_gen = 0; | ||
942 | /* take overwritten dentry's readdir offset */ | 946 | /* take overwritten dentry's readdir offset */ |
943 | ceph_dentry(req->r_old_dentry)->offset = | 947 | ceph_dentry(req->r_old_dentry)->offset = |
944 | ceph_dentry(dn)->offset; | 948 | ceph_dentry(dn)->offset; |