diff options
Diffstat (limited to 'fs/ocfs2/dlmglue.c')
-rw-r--r-- | fs/ocfs2/dlmglue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c index 8e712b614e6e..933aac5da193 100644 --- a/fs/ocfs2/dlmglue.c +++ b/fs/ocfs2/dlmglue.c | |||
@@ -96,7 +96,9 @@ struct ocfs2_unblock_ctl { | |||
96 | }; | 96 | }; |
97 | 97 | ||
98 | /* Lockdep class keys */ | 98 | /* Lockdep class keys */ |
99 | #ifdef CONFIG_DEBUG_LOCK_ALLOC | ||
99 | static struct lock_class_key lockdep_keys[OCFS2_NUM_LOCK_TYPES]; | 100 | static struct lock_class_key lockdep_keys[OCFS2_NUM_LOCK_TYPES]; |
101 | #endif | ||
100 | 102 | ||
101 | static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, | 103 | static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, |
102 | int new_level); | 104 | int new_level); |