Whamcloud - gitweb
LU-6602 osp: change lgh_hdr_lock to mutex
[fs/lustre-release.git] / lustre / include / lustre_log.h
index 27573c8..458cc2e 100644 (file)
@@ -292,7 +292,7 @@ struct llog_operations {
 /* In-memory descriptor for a log object or log catalog */
 struct llog_handle {
        struct rw_semaphore      lgh_lock;
-       struct rw_semaphore      lgh_hdr_lock; /* protect lgh_hdr data */
+       struct mutex             lgh_hdr_mutex; /* protect lgh_hdr data */
        struct llog_logid        lgh_id; /* id of this log */
        struct llog_log_hdr     *lgh_hdr;
        size_t                  lgh_hdr_size;