On Fri, Aug 21, 2015 at 10:42:54AM +1000, Dave Chinner wrote: > On Thu, Aug 20, 2015 at 07:32:00AM -0400, Brian Foster wrote: > > On Wed, Aug 19, 2015 at 08:23:34PM +1000, Dave Chinner wrote: > > > From: Dave Chinner <dchinner@xxxxxxxxxx> > > > ... > > > Perhaps it's best to just use the #define in both cases? > > -#ifdef CONFIG_LOCKDEP > +#if (defined(DEBUG) || defined(XFS_WARN)) && CONFIG_LOCKDEP > > is how I fixed it. > Sounds good to me. Brian > Cheers, > > Dave. > -- > Dave Chinner > david@xxxxxxxxxxxxx > > _______________________________________________ > xfs mailing list > xfs@xxxxxxxxxxx > http://oss.sgi.com/mailman/listinfo/xfs _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs