From: wangdi Date: Mon, 31 Jul 2006 08:56:03 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~1314 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e3fbb26f53f8a1ce46b43a778e463463e8e4212b;p=fs%2Flustre-release.git Branch: b_new_cmd 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. --- diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index 24ddb32..88ed709 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -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;