From e604a147fa8690a7541488f2cde2900a2c65816c Mon Sep 17 00:00:00 2001 From: tappro Date: Fri, 5 May 2006 18:45:30 +0000 Subject: [PATCH] fill fid2 only if cid is exists --- lustre/lmv/lmv_intent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1