Displaying 1 result from an estimated 1 matches for "40e5370".
Did you mean:
2015370
2009 Jun 18
1
[PATCH] ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.
...warning.
fs/ocfs2/sysfile.c:53: warning: ?ocfs2_sysfile_cluster_lock_key?
defined but not used
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/sysfile.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/sysfile.c b/fs/ocfs2/sysfile.c
index 6f53f5e..40e5370 100644
--- a/fs/ocfs2/sysfile.c
+++ b/fs/ocfs2/sysfile.c
@@ -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];
+#...