libceph: do not include crypto/algapi.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Aug 2023 10:32:21 +0000 (18:32 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 24 Aug 2023 09:24:37 +0000 (11:24 +0200)
The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger_v2.c

index d0a1fb4..d09a39f 100644 (file)
@@ -8,9 +8,9 @@
 #include <linux/ceph/ceph_debug.h>
 
 #include <crypto/aead.h>
-#include <crypto/algapi.h>  /* for crypto_memneq() */
 #include <crypto/hash.h>
 #include <crypto/sha2.h>
+#include <crypto/utils.h>
 #include <linux/bvec.h>
 #include <linux/crc32c.h>
 #include <linux/net.h>