linux-next: build warnings after merge of the overlayfs tree

From: Stephen Rothwell
Date: Tue Mar 07 2017 - 22:15:32 EST


Hi Miklos,

After merging the overlayfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:

fs/overlayfs/inode.c:322:30: warning: 'ovl_i_mutex_key' defined but not used [-Wunused-variable]
static struct lock_class_key ovl_i_mutex_key[FILESYSTEM_MAX_STACK_DEPTH];
^
fs/overlayfs/inode.c:323:30: warning: 'ovl_i_mutex_dir_key' defined but not used [-Wunused-variable]
static struct lock_class_key ovl_i_mutex_dir_key[FILESYSTEM_MAX_STACK_DEPTH];
^

Introduced by commit

a41471e8eff8 ("ovl: lockdep annotate of nested stacked overlayfs inode lock")

CONFIG_LOCKDEP is not set for this build.

--
Cheers,
Stephen Rothwell