]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ocfs2/sysfile.c
ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.
[mirror_ubuntu-artful-kernel.git] / fs / ocfs2 / sysfile.c
index 6f53f5e7256a6999cc378251507610b29d332d12..40e53702948cdbc2ed92ce1e22f0827f76017417 100644 (file)
@@ -50,7 +50,9 @@ static inline int is_in_system_inode_array(struct ocfs2_super *osb,
                                           int type,
                                           u32 slot);
 
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
 static struct lock_class_key ocfs2_sysfile_cluster_lock_key[NUM_SYSTEM_INODES];
+#endif
 
 static inline int is_global_system_inode(int type)
 {