summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_dir2_node.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2015-08-25 03:05:13 +0300
committerDave Chinner <david@fromorbit.com>2015-08-25 03:05:13 +0300
commitb6a9947efdbe0c9135d94b26b2f912f5b0b9dc45 (patch)
tree94b9bc314c1075c4a65bb3f4d40ac9c941d2116e /fs/xfs/libxfs/xfs_dir2_node.c
parentc184f855c483428027d6ec937e4a9d5f15b2cbad (diff)
downloadlinux-b6a9947efdbe0c9135d94b26b2f912f5b0b9dc45.tar.xz
xfs: lockdep annotations throw warnings on non-debug builds
SO, now if we enable lockdep without enabling CONFIG_XFS_DEBUG, the lockdep annotations throw a warning because the assert that uses the lockdep define is not built in: fs/xfs/xfs_inode.c:367:1: warning: 'xfs_lockdep_subclass_ok' defined but not used [-Wunused-function] xfs_lockdep_subclass_ok( So now we need to create an ifdef mess to sort this all out, because we need to handle all the combinations of CONFIG_XFS_DEBUG=[y|n], CONFIG_XFS_WARNING=[y|n] and CONFIG_LOCKDEP=[y|n] appropriately. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_node.c')
0 files changed, 0 insertions, 0 deletions