Whamcloud - gitweb
b=19405
authorvs <vs>
Wed, 13 May 2009 17:00:11 +0000 (17:00 +0000)
committervs <vs>
Wed, 13 May 2009 17:00:11 +0000 (17:00 +0000)
i=ericm
i=rread

do not flag a request as rq_replay for non replayable imports

lustre/mdc/mdc_locks.c

index 2f22f1a..cd7792e 100644 (file)
@@ -310,7 +310,7 @@ static struct ptlrpc_request *mdc_intent_open_pack(struct obd_export *exp,
         }
 
         spin_lock(&req->rq_lock);
-        req->rq_replay = 1;
+        req->rq_replay = req->rq_import->imp_replayable;
         spin_unlock(&req->rq_lock);
 
         /* pack the intent */