[Ocfs2-devel] [PATCH] ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.

Joel Becker Joel.Becker at oracle.com
Fri Jun 19 23:06:37 PDT 2009


On Thu, Jun 18, 2009 at 01:12:06PM +0800, Tao Ma wrote:
> 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 at oracle.com>

	This is now in the lockdep branch of ocfs2.git.

Joel

-- 

The Graham Corollary:

	The longer a socially-moderated news website exists, the
	probability of an old Paul Graham link appearing at the top
	approaches certainty.

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list