ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.
authorTao Ma <tao.ma@oracle.com>
Thu, 18 Jun 2009 05:12:06 +0000 (13:12 +0800)
committerJoel Becker <joel.becker@oracle.com>
Mon, 22 Jun 2009 21:34:29 +0000 (14:34 -0700)
commitd246ab307d1d003c80fe279897dea22bf52b6e41
tree1a927f0ec75cf8148bc4428a8b663843c067ad52
parentcb25797d451dc774d9dbc402a65f16a0e32199fe
ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.

Actually ocfs2_sysfile_cluster_lock_key is only used if we enable
CONFIG_DEBUG_LOCK_ALLOC. Wrap it so that we can avoid a building
warning.
fs/ocfs2/sysfile.c:53: warning: ‘ocfs2_sysfile_cluster_lock_key’
defined but not used

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/sysfile.c