Whamcloud - gitweb
Branch: HEAD
authorwangdi <wangdi>
Fri, 6 May 2005 13:22:07 +0000 (13:22 +0000)
committerwangdi <wangdi>
Fri, 6 May 2005 13:22:07 +0000 (13:22 +0000)
missing up in mds_open_by_id
b:6068

lustre/mds/mds_open.c

index 28bc8e9..51efdea 100644 (file)
@@ -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,