]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: fix a GCC warning
authorzhong jiang <zhongjiang@huawei.com>
Sat, 13 Oct 2018 04:34:26 +0000 (21:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Oct 2018 07:31:02 +0000 (09:31 +0200)
commitb4cf9ede4716bed075198fe95194fc339623b847
treef3e3370b0d048fde5e750e651f69b16e89be3de7
parent24a91ab89f4293edb1dd9c5db799381084185864
ocfs2: fix a GCC warning

Fix the following compile warning:

fs/ocfs2/dlmglue.c:99:30: warning: \91lockdep_keys\92 defined but not used [-Wunused-variable]
 static struct lock_class_key lockdep_keys[OCFS2_NUM_LOCK_TYPES];

Link: http://lkml.kernel.org/r/1536938148-32110-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ocfs2/dlmglue.c