From: tappro Date: Fri, 5 May 2006 18:45:30 +0000 (+0000) Subject: fill fid2 only if cid is exists X-Git-Tag: v1_8_0_110~486^2~1874 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e604a147fa8690a7541488f2cde2900a2c65816c;p=fs%2Flustre-release.git fill fid2 only if cid is exists --- diff --git a/lustre/lmv/lmv_intent.c b/lustre/lmv/lmv_intent.c index 20e9328..4793f52 100644 --- a/lustre/lmv/lmv_intent.c +++ b/lustre/lmv/lmv_intent.c @@ -282,6 +282,7 @@ int lmv_intent_getattr(struct obd_export *exp, struct lu_fid *pid, lmv_obj_put(obj); } #endif + op_data.fid2 = *cid; } else { CDEBUG(D_OTHER, "INTENT getattr for %*s on "DFID3"\n", len, name, PFID3(pid)); @@ -301,7 +302,6 @@ int lmv_intent_getattr(struct obd_export *exp, struct lu_fid *pid, } op_data.fid1 = rpid; - op_data.fid2 = *cid; op_data.name = name; op_data.namelen = len;