From 31cc3bdcccd1e9d2c9b11bf2784b8c629239c013 Mon Sep 17 00:00:00 2001
From: wangdi <wangdi>
Date: Fri, 6 May 2005 13:22:07 +0000
Subject: [PATCH] Branch: HEAD missing up in mds_open_by_id b:6068

---
 lustre/mds/mds_open.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c
index 28bc8e9ac8..51efdeaec8 100644
--- a/lustre/mds/mds_open.c
+++ b/lustre/mds/mds_open.c
@@ -747,6 +747,7 @@ static int mds_open_by_id(struct ptlrpc_request *req,
                 RETURN(rc);
         }
 
+        up(&pending_dir->i_sem);
         if (dchild->d_inode != NULL) {
                 mds_inode_set_orphan(dchild->d_inode);
                 mds_pack_inode2body(req2obd(req), body,
-- 
GitLab