]> err.no Git - linux-2.6/blobdiff - crypto/algapi.c
[PATCH] remove ext[34]_inc_count and _dec_count
[linux-2.6] / crypto / algapi.c
index 0f1abca1b98ce296f796fcb1d59998cb260bcae7..f7d2185b2c8fbac94cf6f6736b5f1a965f224bb9 100644 (file)
@@ -401,7 +401,7 @@ struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type,
        if (unlikely((alg->cra_flags ^ type) & mask))
                goto out_put_alg;
 
-       tfm = __crypto_alloc_tfm(alg);
+       tfm = __crypto_alloc_tfm(alg, type, mask);
        if (IS_ERR(tfm))
                goto out_put_alg;