[PATCH] xfs: inode lockdep annotations broke non-lockdep build
Brian Foster
bfoster at redhat.com
Fri Aug 21 06:09:06 CDT 2015
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 at redhat.com>
> > >
...
>
> > 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 at fromorbit.com
>
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
More information about the xfs
mailing list