Whamcloud - gitweb
LU-16113 build: Fix configure tests for lock_page_memcg 10/49810/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 8 Mar 2023 19:59:01 +0000 (11:59 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Mar 2023 07:03:24 +0000 (07:03 +0000)
commit2388061dd1941bf7256dfec17ef415f9949c8a2d
tree6c5ecb7243327da25cf7aa711fe0b97659e3a0e7
parent101080a430f0aaceb4c1ca546390a85600fa9d0c
LU-16113 build: Fix configure tests for lock_page_memcg

Linux commit v5.15-12273-gab2f9d2d3626
   mm: unexport {,un}lock_page_memcg

Fails when lock_page_memcg exists but is not exported.

Adjust usage of [un]lock_page_memcg() to vvp_[un]lock_page_memcg() and
define the mapping accordingly to avoid the compile error.

Lustre-change: https://review.whamcloud.com/49144
Lustre-commit: 61e83a6f13064aa9ae0d0e8ce8244493bad1f1bd

Test-Parameters: trivial
HPE-bug-id: LUS-11189
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I18029d078a00a0b21a14721bcdf953939b4118a1
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49810
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/vvp_io.c