From: Dave Chinner Date: Wed, 19 Aug 2015 23:27:49 +0000 (+1000) Subject: xfs: inode lockdep annotations broke non-lockdep build X-Git-Tag: omap-for-v4.3/fixes-rc1~79^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3403ccc0c9f069c40ea751a93ac6746f5ef2116a;p=pandora-kernel.git 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 Reviewed-by: Eric Sandeen Signed-off-by: Dave Chinner --- Reading git-diff-tree failed