2009/4/9 Herbert Xu <[email protected]>: [...] Yes, patch helps. Thanks
Tested-by Maciej Rutecki <[email protected]> > Signed-off-by: Herbert Xu <[email protected]> > > diff --git a/include/linux/kmod.h b/include/linux/kmod.h > index d5fa565..384ca8b 100644 > --- a/include/linux/kmod.h > +++ b/include/linux/kmod.h > @@ -34,7 +34,7 @@ extern int __request_module(bool wait, const char *name, > ...) \ > #define request_module(mod...) __request_module(true, mod) > #define request_module_nowait(mod...) __request_module(false, mod) > #define try_then_request_module(x, mod...) \ > - ((x) ?: (__request_module(false, mod), (x))) > + ((x) ?: (__request_module(true, mod), (x))) > #else > static inline int request_module(const char *name, ...) { return -ENOSYS; } > static inline int request_module_nowait(const char *name, ...) { return > -ENOSYS; } > > Thanks, > -- > Visit Openswan at http://www.openswan.org/ > Email: Herbert Xu ~{PmV>HI~} <[email protected]> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > -- Maciej Rutecki http://www.maciek.unixy.pl -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
