Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Mon, 31 Jul 2006 08:56:03 +0000 (08:56 +0000)
committerwangdi <wangdi>
Mon, 31 Jul 2006 08:56:03 +0000 (08:56 +0000)
remove this unproper msg, since revalidate_it also will with IT_CREATE|IT_OPEN
so, we can not check IT_CREATE to make whether should allocate fid.

lustre/lmv/lmv_intent.c

index 24ddb32..88ed709 100644 (file)
@@ -164,8 +164,7 @@ repeat:
         }
 
         op_data.fid1 = rpid;
-        if ((it->it_op & IT_CREAT) && cid == NULL)
-                CERROR("IT_CREAT but without FID\n");
+
         if (cid)
                 op_data.fid2 = *cid;
         op_data.name = name;