xfs: inode lockdep annotations broke non-lockdep build
authorDave Chinner <dchinner@redhat.com>
Wed, 19 Aug 2015 23:27:49 +0000 (09:27 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 19 Aug 2015 23:27:49 +0000 (09:27 +1000)
commit3403ccc0c9f069c40ea751a93ac6746f5ef2116a
tree0fc897b2db02e43143b46c34db01c1ef2bc2da0a
parent3d751af2cbe9a73a869986a18e865f8a34265052
xfs: inode lockdep annotations broke non-lockdep build

Fix CONFIG_LOCKDEP=n build, because asserts I put in to ensure we
aren't overrunning lockdep subclasses in commit 0952c81 ("xfs:
clean up inode lockdep annotations") use a define that doesn't
exist when CONFIG_LOCKDEP=n

Only check the subclass limits when lockdep is actually enabled.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode.c
This page took 0.02588 seconds and 5 git commands to generate.