Whamcloud - gitweb
LU-6142 llog: remove olg_cat_processing field. 78/35878/3
authorMr NeilBrown <neilb@suse.com>
Thu, 22 Aug 2019 05:16:08 +0000 (15:16 +1000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:01:31 +0000 (23:01 +0000)
This mutex is initialized but never used.
Remove it.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Change-Id: Id6fbbfdc5344435627b88104c46785e8d95e4ab1
Reviewed-on: https://review.whamcloud.com/35878
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
lustre/include/lustre_log.h
lustre/include/obd.h

index c425fe2..ae37da4 100644 (file)
@@ -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);
 {
        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,
 }
 
 static inline int llog_group_set_ctxt(struct obd_llog_group *olg,
index 920a9f2..702b0cc 100644 (file)
@@ -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 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 */
 };
 
 /* corresponds to one of the obd's */