From 2801ef81f1d0a866066e468fc0cc75fe75201636 Mon Sep 17 00:00:00 2001 From: Mr NeilBrown Date: Thu, 22 Aug 2019 15:16:08 +1000 Subject: [PATCH] LU-6142 llog: remove olg_cat_processing field. This mutex is initialized but never used. Remove it. Test-Parameters: trivial Signed-off-by: Mr NeilBrown Change-Id: Id6fbbfdc5344435627b88104c46785e8d95e4ab1 Reviewed-on: https://review.whamcloud.com/35878 Tested-by: jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Arshad Hussain Reviewed-by: Mike Pershin --- lustre/include/lustre_log.h | 1 - lustre/include/obd.h | 1 - 2 files changed, 2 deletions(-) diff --git a/lustre/include/lustre_log.h b/lustre/include/lustre_log.h index c425fe2..ae37da4 100644 --- a/lustre/include/lustre_log.h +++ b/lustre/include/lustre_log.h @@ -386,7 +386,6 @@ static inline void llog_group_init(struct obd_llog_group *olg) { init_waitqueue_head(&olg->olg_waitq); spin_lock_init(&olg->olg_lock); - mutex_init(&olg->olg_cat_processing); } static inline int llog_group_set_ctxt(struct obd_llog_group *olg, diff --git a/lustre/include/obd.h b/lustre/include/obd.h index 920a9f2..702b0cc 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -592,7 +592,6 @@ struct obd_llog_group { struct llog_ctxt *olg_ctxts[LLOG_MAX_CTXTS]; wait_queue_head_t olg_waitq; spinlock_t olg_lock; - struct mutex olg_cat_processing; }; /* corresponds to one of the obd's */ -- 1.8.3.1