Whamcloud - gitweb
LU-16791 utils: ZFS 2.2 const prop args 19/52519/7
authorBrian Atkinson <batkinson@lanl.gov>
Tue, 26 Sep 2023 18:35:43 +0000 (12:35 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 18 Jan 2024 06:15:36 +0000 (06:15 +0000)
commitb4b32ffd22d276bc1d8f40e3336df982f3717070
treec11aace744eb5864683ed90c1c3635c09ec00943
parent228ef5727edb6e51157f2a6cc4cee58fd6703982
LU-16791 utils: ZFS 2.2 const prop args

ZFS 2.2 now expects const char * from certain interfaces in
sys/nvpair.h. I updated the build system to detect if this is the case
and if so update the paramters passed to certain functions in
libmount_utils_zfs.c to account for these changes.

Without this patch, Lustre master would not build with ZFS master and
the 2.2 release candidates.

Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Change-Id: I0469eeff6dafa6c276fc616381530b6b679d9da1
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52519
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Akash B <akash-b@hpe.com>
Reviewed-by: Thomas Bertschinger <bertschinger@lanl.gov>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/lustre-build-zfs.m4
lustre/utils/libmount_utils_zfs.c