[PATCH] Fix OCFS2 warning when DEBUG_FS is not enabled
authorJean Delvare <khali@linux-fr.org>
Wed, 19 Apr 2006 04:30:22 +0000 (21:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 27 Apr 2006 20:08:56 +0000 (13:08 -0700)
commitbde11d794206ae8d72defd0e8a481181200f7dc4
treeb5f4c07afd000365b557dcb81d176544d64ec384
parent4d17ffda331ba6030bb8c233c73d6a87954d8ea7
[PATCH] Fix OCFS2 warning when DEBUG_FS is not enabled

Fix the following warning which happens when OCFS2_FS is enabled but
DEBUG_FS isn't:

fs/ocfs2/dlmglue.c: In function `ocfs2_dlm_init_debug':
fs/ocfs2/dlmglue.c:2036: warning: passing arg 5 of `debugfs_create_file' discards qualifiers from pointer target type

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Joel Becker <Joel.Becker@oracle.com>
Acked-by: Mark Fasheh <mark.fasheh@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/debugfs.h