Whamcloud - gitweb
LU-13731 llite: include linux/mm_types.h for VM_FAULT_RETRY 22/39222/2
authorJian Yu <yujian@whamcloud.com>
Wed, 1 Jul 2020 04:52:11 +0000 (21:52 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 1 Jul 2020 17:26:19 +0000 (17:26 +0000)
commit2e813f3e2dc0a9a76a47dc7b74b6f7ed21f842e5
tree43ccc6f44f47b1e60a79fe65370dc296fd5684b3
parent011d760069142a740754fcd783d51e1290d113a9
LU-13731 llite: include linux/mm_types.h for VM_FAULT_RETRY

In RHEL 8.2 kernel 4.18.0-193.6.3.el8_2, VM_FAULT_RETRY is
defined in linux/mm_types.h instead of linux/mm.h. This
patch adds the #include in llite_internal.h to define
VM_FAULT_RETRY.

Test-Parameters: clientdistro=el8.2 serverdistro=el8.2 \
testlist=sanity

Test-Parameters: clientdistro=el8.1 serverdistro=el8.1 \
testlist=sanity

Change-Id: I0e48b32f661dab25392abf7924b5ac44f334d639
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/39222
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_internal.h