Whamcloud - gitweb
- pass connect flag claiming llite is a client
authoralex <alex>
Mon, 15 Aug 2005 21:56:46 +0000 (21:56 +0000)
committeralex <alex>
Mon, 15 Aug 2005 21:56:46 +0000 (21:56 +0000)
lustre/llite/llite_lib.c

index 3a0057a..6cb1455 100644 (file)
@@ -736,7 +736,7 @@ static int lustre_process_log(struct lustre_mount_data *lmd, char *profile,
         if (rc)
                 GOTO(out_cleanup, rc);
 
-        rc = obd_connect(&md_conn, obd, &lmv_uuid, NULL, 0);
+        rc = obd_connect(&md_conn, obd, &lmv_uuid, NULL, OBD_OPT_REAL_CLIENT);
         if (rc) {
                 CERROR("cannot connect to %s: rc = %d\n", lmd->lmd_mds, rc);
                 GOTO(out_cleanup, rc);