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 <mfasheh@versity.com>
This commit is contained in:
Mark Fasheh
2017-08-23 17:47:50 -05:00
parent d4a89a5fbc
commit bf6020c22b

View File

@@ -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,