Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Sat, 23 Sep 2006 07:37:05 +0000 (07:37 +0000)
committerwangdi <wangdi>
Sat, 23 Sep 2006 07:37:05 +0000 (07:37 +0000)
llog_connect_body should be in offset 1

lustre/ost/ost_handler.c

index 5b5df89..6a9a391 100644 (file)
@@ -1187,7 +1187,7 @@ static int ost_llog_handle_connect(struct obd_export *exp,
         int rc;
         ENTRY;
 
-        body = lustre_msg_buf(req->rq_reqmsg, 0, sizeof(*body));
+        body = lustre_msg_buf(req->rq_reqmsg, 1, sizeof(*body));
         rc = obd_llog_connect(exp, body);
         RETURN(rc);
 }