It is apparently not possible to specify explicit module dependencies. For well-formed setups this is not a problem because crypto_alloc_shash() uses request_module() internally, but if one needs reiser4, say, in initramfs, then the checksum module must be added manually. Signed-off-by: Ivan Shapovalov <intelfx100@xxxxxxxxx> --- fs/reiser4/checksum.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/reiser4/checksum.c b/fs/reiser4/checksum.c index 73d40f0..2a35f42 100644 --- a/fs/reiser4/checksum.c +++ b/fs/reiser4/checksum.c @@ -7,8 +7,10 @@ int reiser4_init_csum_tfm(struct crypto_shash **tfm) struct crypto_shash *new_tfm; new_tfm = crypto_alloc_shash("crc32c", 0, 0); - if (IS_ERR(new_tfm)) + if (IS_ERR(new_tfm)) { + warning("intelfx-81", "Could not load crc32c driver"); return PTR_ERR(new_tfm); + } *tfm = new_tfm; return 0; -- 2.5.1 -- To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html