Whamcloud - gitweb
LU-17767 build: struct lsmcontext has slot or id member
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 23 Apr 2024 19:03:19 +0000 (12:03 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 27 Apr 2024 22:26:45 +0000 (22:26 +0000)
commit962e98a7034bf177a7081b32fafef5a3d55a362e
tree86e5766f406a7c278402348684f07f5cf46323c4
parent9d11545377bc739fa754689e1abea6b7e8d34db8
LU-17767 build: struct lsmcontext has slot or id member

With Ubuntu 24.04 kernel 6.8.0-31-generic, the struct lsmcontext uses
a field named 'id' to identify the LSM module, instead of 'slot' in
previous kernel versions.

Lustre-change: https://review.whamcloud.com/54881
Lustre-commit: TBD (from 7764f73b8e25f8658867e7ab080fe5d8ec62230b)

Fixes: 0e66489401 ("LU-16619 build: Ubuntu jammy 5.19 client support")
Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I5080e60614b42ed63103f93cae1f481851742d0b
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54882
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/xattr_security.c