Whamcloud - gitweb
LU-14651 build: fix build for el7.9 kernels 03/53503/2
authorAndrew Perepechko <andrew.perepechko@hpe.com>
Mon, 18 Dec 2023 18:19:26 +0000 (11:19 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 20 Dec 2023 01:58:01 +0000 (01:58 +0000)
commit7815835d21a5c0b6dbc58d9bc9dd823d4952f86f
treede86a4be31bcc486bdc45ca7549ed126ae2fcf78
parentf7051f0092b19416ed86d7f4bbfe1cba7bb74c02
LU-14651 build: fix build for el7.9 kernels

Handle extra setattr_prepare() argument added in Linux 5.12 kernels
when building on older kernels.

HPE-bug-id: LUS-12059
Signed-off-by: Andrew Perepechko <andrew.perepechko@hpe.com>
Change-Id: Ie7fd1c4d51b7a9b086cfca0db941321cbcce7057
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53503
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Sebastien Buisson <sbuisson@ddn.com>
Tested-by: James Simmons <jsimmons@infradead.org>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c