Whamcloud - gitweb
EX-7998 lustre: Fix build with crypto_tfm_ctx on kernel 6.2
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 31 Jul 2023 09:43:44 +0000 (11:43 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 1 Aug 2023 22:04:12 +0000 (22:04 +0000)
commit1ae4ade28a28bc45811505a31667c2cafd6c5b92
tree8a7bc3925344c95871729cf23bc9ee80ef9939a6
parenta0dfd47f59ef632a50a5ce98486daf278ca54b4f
EX-7998 lustre: Fix build with crypto_tfm_ctx on kernel 6.2

In recent kernels, commit e634ac4
"crypto: api - Add crypto_tfm_ctx_dma"
moved crypto_tfm_ctx into algapi.h. So this file must be included
from lustre_crypto.h.

Fixes: 8238c4e7fe ("EX-6275 lustre: add lz4 and lz4hc kernel modules")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: If10f721355da3e58ca541c17615e978334e8d718
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51812
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Jian Yu <yujian@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre_crypto.h