Commit 88ab1018 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Add missing skcipher_request_set_callback() call

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8060bf1d
......@@ -102,6 +102,7 @@ static inline int do_encrypt_sg(struct crypto_sync_skcipher *tfm,
int ret;
skcipher_request_set_sync_tfm(req, tfm);
skcipher_request_set_callback(req, 0, NULL, NULL);
skcipher_request_set_crypt(req, sg, sg, len, nonce.d);
ret = crypto_skcipher_encrypt(req);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment