Whamcloud - gitweb
LU-16113 build: Fix configure tests for lock_page_memcg 44/49144/8
authorShaun Tancheff <shaun.tancheff@hpe.com>
Tue, 15 Nov 2022 04:06:05 +0000 (22:06 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Jan 2023 07:54:20 +0000 (07:54 +0000)
commit61e83a6f13064aa9ae0d0e8ce8244493bad1f1bd
treef3307764add5cccad0d9d234522c3e1b7fefdeb6
parent009faf132dc47dcfb604b95c93211da7d2c644e2
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.

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