Walter Neto wrote:
> > You also have uses of B_METAONLY that are not inside a #ifdef WAPBL in 
> > ffs_balloc.c
> >
> 
> Yeah, but I don't know what is the best way to correct it.
> Should I use:
> #ifdef WAPBL
>       foo(..., flags | B_METAONLY, ...);
> #else
>       foo(..., flags, ...);
> #endif
> 
> or
> 
>       foo(..., flags
> #ifdef WAPBL
>           | B_METAONLY
> #endif
>           , ...)
> 
> ?

        flags = B_ANANA;
#ifdef WAPBL
        flags |= B_METAONLY;
#endif
        foo(flags);

Reply via email to