From e690722f97d0ca4af839afc9127861c96b0b9d99 Mon Sep 17 00:00:00 2001 From: braam Date: Tue, 2 Apr 2002 16:35:37 +0000 Subject: [PATCH] - forgot to put the parent... --- lustre/include/linux/lustre_mds.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/include/linux/lustre_mds.h b/lustre/include/linux/lustre_mds.h index 3f445e8..8e53121 100644 --- a/lustre/include/linux/lustre_mds.h +++ b/lustre/include/linux/lustre_mds.h @@ -42,8 +42,10 @@ static inline void l_dput(struct dentry *de) if (parent) dget(parent); dput(de); - if (parent) + if (parent) { shrink_dcache_parent(parent); + dput(parent); + } } #define LUSTRE_MDS_NAME "mds" -- 1.8.3.1