From bf6020c22bab3b1ae38703d708c1fa7db7901197 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Wed, 23 Aug 2017 17:47:50 -0500 Subject: [PATCH] scoutfs: hide lockdep_keys in dlmglue for now This belongs behind #ifdef CONFIG_DEBUG_LOCK_ALLOC in the upstream code too. Signed-off-by: Mark Fasheh --- kmod/src/dlmglue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kmod/src/dlmglue.c b/kmod/src/dlmglue.c index 7c25424d..1f78808e 100644 --- a/kmod/src/dlmglue.c +++ b/kmod/src/dlmglue.c @@ -114,8 +114,10 @@ struct ocfs2_unblock_ctl { enum ocfs2_unblock_action unblock_action; }; +#ifdef CONFIG_DEBUG_LOCK_ALLOC /* Lockdep class keys */ struct lock_class_key lockdep_keys[OCFS2_NUM_LOCK_TYPES]; +#endif #if 0 static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres,