Re: [2.6.30-rc1] device-mapper: table: 254:0: crypt: Error allocating crypto tfm

From: Maciej Rutecki
Date: Thu Apr 09 2009 - 08:46:48 EST


2009/4/9 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>:
[...]

Yes, patch helps. Thanks

Tested-by Maciej Rutecki <maciej.rutecki@xxxxxxxxx>

> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
>
> 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~} <herbert@xxxxxxxxxxxxxxxxxxx>
> 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 majordomo@xxxxxxxxxxxxxxx
> 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/