]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1490a0144fc16f68e0cda0011140504da1437d1
tree1a927f0ec75cf8148bc4428a8b663843c067ad52
parent621a5d662ae7d8bba95c12ab849006ee743f6c98
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