Whamcloud - gitweb
b=3999
authoralex <alex>
Tue, 27 Jul 2004 15:35:06 +0000 (15:35 +0000)
committeralex <alex>
Tue, 27 Jul 2004 15:35:06 +0000 (15:35 +0000)
- IT_UNLINK doesn't use 4rd buffer

lustre/mds/handler.c

index 8fc08d4..2bb3af4 100644 (file)
@@ -2427,7 +2427,7 @@ static int mds_intent_policy(struct ldlm_namespace *ns,
 
         LDLM_DEBUG(lock, "intent policy, opc: %s", ldlm_it2str(it->opc));
 
-        rc = lustre_pack_reply(req, it->opc == IT_UNLINK ? 4 : 3, repsize, NULL);
+        rc = lustre_pack_reply(req, 3, repsize, NULL);
         if (rc)
                 RETURN(req->rq_status = rc);