Skip to content

Commit

Permalink
bcachefs: Add missing skcipher_request_set_callback() call
Browse files Browse the repository at this point in the history
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
  • Loading branch information
Kent Overstreet committed May 6, 2024
1 parent 8060bf1 commit 88ab101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/bcachefs/checksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 88ab101

Please sign in to comment.