[Ocfs2-devel] [PATCH 02/10] ocfs2: Handle missing dlmconstants.h
Joel Becker
Joel.Becker at oracle.com
Wed Nov 11 14:57:07 PST 2009
On Wed, Nov 11, 2009 at 11:27:32AM -0800, Sunil Mushran wrote:
> Joel Becker wrote:
> > Then maybe change this to
> >
> > #ifndef DLM_LOCK_NL
> > # include <linux/dlmconstants.h>
> > #endif
> >
>
> Not sure why we need to do this.
Because if we are against mainline, we will not include the
kapi-compat header. Then we have to include linux/dlmconstants.h. Or
are you asking why do this instead of checking the NO_DLMCONSTANTS
define? That works too. -EDONTCARE
Joel
--
"Sometimes one pays most for the things one gets for nothing."
- Albert Einstein
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-devel
mailing list