summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-05-21 13:13:30 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-05-21 13:13:30 -0400
commit3c690a1576e594a3f2f04ffa56fb717fb4b347e7 (patch)
tree97e28cf530ae49d1255f82cbb5529ea55cdfaffc
parent40eaef7e8049b75ff7e5da42227295c754d9c906 (diff)
Print addresses in bch2_chacha_encrypt_keysonicrules-debug
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--fs/bcachefs/checksum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/checksum.c b/fs/bcachefs/checksum.c
index 50157b4013a5..5fd636303415 100644
--- a/fs/bcachefs/checksum.c
+++ b/fs/bcachefs/checksum.c
@@ -139,6 +139,8 @@ int bch2_chacha_encrypt_key(struct bch_key *key, struct nonce nonce,
goto err;
}
+ pr_info("buf %px page %px", buf, virt_to_page(buf));
+
ret = do_encrypt(chacha20, nonce, buf, len);
err:
crypto_free_sync_skcipher(chacha20);