Whamcloud - gitweb
- lmv should accept IT_CHDIR intent
authoralex <alex>
Tue, 8 Jun 2004 10:22:49 +0000 (10:22 +0000)
committeralex <alex>
Tue, 8 Jun 2004 10:22:49 +0000 (10:22 +0000)
lustre/lmv/lmv_intent.c

index eb1f40b..14640c4 100644 (file)
@@ -569,7 +569,7 @@ int lmv_intent_lock(struct obd_export *exp, struct ll_uctxt *uctxt,
                 rc = lmv_intent_open(exp, uctxt, pfid, name, len, lmm,
                                      lmmsize, cfid, it, flags, reqp,
                                      cb_blocking);
-        else if (it->it_op == IT_GETATTR)
+        else if (it->it_op == IT_GETATTR || it->it_op == IT_CHDIR)
                 rc = lmv_intent_getattr(exp, uctxt, pfid, name, len, lmm,
                                         lmmsize, cfid, it, flags, reqp,
                                         cb_blocking);