Dave Chinner
b6a9947efd
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>
2015-08-25 10:05:13 +10:00
..
2015-08-25 10:05:13 +10:00
2014-07-30 09:12:05 +10:00
2015-02-02 09:54:18 +11:00
2015-02-02 09:54:18 +11:00
2015-02-16 11:49:23 +11:00
2014-11-28 14:27:09 +11:00
2014-11-28 14:24:37 +11:00
2015-06-30 20:16:08 -07:00
2015-06-04 09:18:53 +10:00
2015-06-23 08:49:01 +10:00
2015-04-13 11:26:02 +10:00
2015-06-04 13:55:48 +10:00
2015-03-25 15:08:56 +11:00
2015-02-24 10:14:04 +11:00
2015-06-22 09:44:29 +10:00
2015-06-22 09:44:29 +10:00
2015-08-19 10:33:00 +10:00
2015-02-23 22:39:08 +11:00
2014-11-28 14:27:09 +11:00
2015-08-19 10:32:01 +10:00
2015-01-09 10:48:58 +11:00
2015-06-22 09:44:02 +10:00
2015-06-22 09:44:02 +10:00
2015-04-15 15:06:57 -04:00
2014-11-28 14:25:04 +11:00
2015-06-22 09:43:32 +10:00
2015-08-19 10:35:04 +10:00
2015-06-22 10:13:30 +10:00
2014-04-23 07:11:52 +10:00
2015-08-19 10:31:41 +10:00
2014-09-09 11:56:13 +10:00
2015-02-23 22:38:08 +11:00
2014-11-28 14:25:04 +11:00
2014-11-28 14:27:09 +11:00
2014-11-28 14:27:09 +11:00
2015-08-25 10:05:13 +10:00
2015-08-19 10:32:49 +10:00
2015-04-15 15:06:57 -04:00
2014-10-02 09:17:58 +10:00
2015-06-04 13:48:08 +10:00
2015-06-04 13:48:08 +10:00
2015-01-09 10:48:12 +11:00
2015-06-30 20:16:08 -07:00
2015-02-23 22:38:08 +11:00
2015-05-29 09:04:19 +10:00
2014-11-07 08:30:30 +11:00
2015-06-22 09:45:10 +10:00
2015-06-04 13:48:20 +10:00
2015-06-22 09:44:47 +10:00
2015-08-19 10:31:54 +10:00
2015-06-23 08:49:01 +10:00
2015-06-04 13:48:20 +10:00
2014-11-28 14:27:09 +11:00
2015-06-01 10:51:38 +10:00
2015-06-04 13:01:49 +10:00
2015-03-25 14:57:53 +11:00
2014-04-23 07:11:51 +10:00
2015-06-04 13:48:08 +10:00
2015-04-13 11:38:29 +10:00
2014-11-28 14:27:09 +11:00
2015-06-04 13:48:08 +10:00
2015-06-04 13:48:08 +10:00
2015-03-04 16:06:36 +01:00
2015-06-01 07:15:37 +10:00
2015-03-04 16:06:38 +01:00
2015-06-04 13:48:08 +10:00
2014-09-09 11:58:42 +10:00
2014-04-24 16:00:52 +10:00
2014-04-24 16:00:52 +10:00
2015-08-19 10:32:14 +10:00
2015-02-23 21:22:31 +11:00
2015-08-19 10:33:00 +10:00
2015-01-09 10:47:43 +11:00
2014-09-09 11:56:13 +10:00
2014-09-09 11:56:13 +10:00
2014-09-09 11:52:42 +10:00
2014-11-28 14:27:09 +11:00
2015-05-29 09:18:32 +10:00
2015-06-22 09:43:32 +10:00
2015-02-10 09:23:40 +11:00
2015-06-01 10:50:00 +10:00
2014-11-28 14:27:09 +11:00
2014-11-28 14:27:09 +11:00
2015-06-04 13:47:43 +10:00
2015-06-04 13:48:20 +10:00
2015-06-04 13:48:08 +10:00
2015-04-15 15:06:57 -04:00