Whamcloud - gitweb
DDN-3473 build: support kernel 3.10.0-693.el7
authorJian Yu <yujian@whamcloud.com>
Wed, 16 Nov 2022 05:54:26 +0000 (21:54 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 25 Nov 2022 22:59:48 +0000 (22:59 +0000)
commitf0aa485c94ddf91613412d36d0b709d8ae82c172
tree98ae8c58837e3184d4ab7ff99aab0287b6a9a957
parent0b615ebc1a749ad45b820081a0c4c9852a689bcd
DDN-3473 build: support kernel 3.10.0-693.el7

This patch fixes the following build failures to support
kernel 3.10.0-693.el7 for Lustre client:

- error: implicit declaration of function 'idr_destroy'
- error: implicit declaration of function 'gfpflags_allow_blocking'
- error: implicit declaration of function ‘cdev_device_add’
- error: passing argument 1 of 'init_wait_var_entry' from
  incompatible pointer type

Test-Parameters: trivial
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Change-Id: I4b5c5264fb102d3a825c92e7b1e92cf0c52540e5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49197
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-wait.h
libcfs/include/libcfs/linux/xarray.h
lustre/autoconf/lustre-core.m4
lustre/mdc/mdc_changelog.c
lustre/mdc/mdc_request.c