From 91463ec698b7edfdc5b1d9bd3c3f0687636cd0d2 Mon Sep 17 00:00:00 2001 From: deen Date: Tue, 16 Sep 2008 09:50:42 +0000 Subject: [PATCH] Put a parent dentry properly. b=15574 i=johann i=alexey.lyashkov --- lustre/mds/mds_open.c | 1 + lustre/mds/mds_reint.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c index 9616308..220a8b5 100644 --- a/lustre/mds/mds_open.c +++ b/lustre/mds/mds_open.c @@ -562,6 +562,7 @@ static void reconstruct_open(struct mds_update_record *rec, int offset, obd_uuid2str(&exp->exp_client_uuid), obd_export_nid2str(exp)); mds_export_evict(exp); + l_dput(parent); EXIT; return; } diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index 8c08812..2dc0381 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -801,6 +801,7 @@ static void reconstruct_reint_create(struct mds_update_record *rec, int offset, obd_uuid2str(&exp->exp_client_uuid), obd_export_nid2str(exp)); mds_export_evict(exp); + l_dput(parent); EXIT; return; } -- 1.8.3.1