Whamcloud - gitweb
LU-14195 obdclass: change list_sort to use const pointers 19/45219/1
authorJian Yu <yujian@whamcloud.com>
Wed, 13 Oct 2021 07:12:03 +0000 (00:12 -0700)
committerJian Yu <yujian@whamcloud.com>
Wed, 13 Oct 2021 07:12:03 +0000 (00:12 -0700)
commit01ef4ea77d6798bfb7d9c94b3a4dc809838c07b0
tree2a439356c1a04eaea12ea2b0677dcb625c3a4ed1
parent0daeebcbdc4e89d59221299f2687cfd3c4f00b5b
LU-14195 obdclass: change list_sort to use const pointers

Kernel 5.10.70 commit 4f0f586bf0c898233d8f316f471a21db2abd522d
defines the list_cmp_func_t type and changes the comparison
function types of all list_sort() callers to use const pointers
to avoid type mismatches.

Change-Id: I40d37ec0f0d485d0deebaa9dc3493f2865f76ec9
Signed-off-by: Jian Yu <yujian@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
lustre/obdclass/cl_io.c