Whamcloud - gitweb
fix changelog
[fs/lustre-release.git] / lustre / obdclass / llog_ioctl.c
index f6b4b17..261c031 100644 (file)
@@ -436,7 +436,7 @@ int llog_catalog_list(struct obd_device *obd, int count,
         if (!idarray)
                 RETURN(-ENOMEM);
 
-        mutex_down(&obd->obd_olg.olg_cat_processing);
+        mutex_down(&obd->obd_llog_cat_process);
         rc = llog_get_cat_list(obd, obd, name, 0, count, idarray);
         if (rc)
                 GOTO(out, rc);
@@ -457,7 +457,7 @@ int llog_catalog_list(struct obd_device *obd, int count,
         }
 out:
         /* release semaphore */
-        mutex_up(&obd->obd_olg.olg_cat_processing);
+        mutex_up(&obd->obd_llog_cat_process);
 
         OBD_VFREE(idarray, size);
         RETURN(rc);