diff options
-rw-r--r-- | fs/ceph/dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index 89ce3ba4a614..fde839c61236 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c | |||
@@ -920,8 +920,6 @@ static int dentry_lease_is_valid(struct dentry *dentry) | |||
920 | di->lease_renew_after = 0; | 920 | di->lease_renew_after = 0; |
921 | di->lease_renew_from = jiffies; | 921 | di->lease_renew_from = jiffies; |
922 | } | 922 | } |
923 | } else { | ||
924 | __ceph_mdsc_drop_dentry_lease(dentry); | ||
925 | } | 923 | } |
926 | } | 924 | } |
927 | spin_unlock(&dentry->d_lock); | 925 | spin_unlock(&dentry->d_lock); |