/root/akash/akash/build/lustre-release/lustre/osd-zfs/osd_handler.c: In function 'osd_objset_register_callbacks':
/root/akash/akash/build/lustre-release/lustre/osd-zfs/osd_handler.c:915:50: error: passing argument 1 of 'arc_add_prune_callback' from incompatible pointer type [-Werror=incompatible-pointer-types]
915 | o->arc_prune_cb = arc_add_prune_callback(arc_prune_func, o);
| ^~~~~~~~~~~~~~
| |
| void (*)(int64_t, void *) {aka void (*)(long long int, void *)}
In file included from /root/akash/akash/build/lustre-release/lustre/osd-zfs/osd_internal.h:51,
from /root/akash/akash/build/lustre-release/lustre/osd-zfs/osd_handler.c:51:
/usr/src/zfs-2.2.2/include/sys/arc.h:310:55: note: expected 'void (*)(uint64_t, void *)' {aka 'void (*)(long long unsigned int, void *)'} but argument is of type 'void (*)(int64_t, void *)' {aka 'void (*)(long long int, void *)'}
310 | arc_prune_t *arc_add_prune_callback(arc_prune_func_t *func, void *priv);
| ~~~~~~~~~~~~~~~~~~^~~~
cc1: all warnings being treated as errors
make[6]: *** [scripts/Makefile.build:321: /root/akash/akash/build/lustre-release/lustre/osd-zfs/osd_handler.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [scripts/Makefile.build:607: /root/akash/akash/build/lustre-release/lustre/osd-zfs] Error 2
make[4]: *** [scripts/Makefile.build:607: /root/akash/akash/build/lustre-release/lustre] Error 2
make[3]: *** [Makefile:1923: /root/akash/akash/build/lustre-release] Error 2
make[3]: Leaving directory '/usr/src/kernels/5.14.0-284.18.1.x7.0.000.9.x86_64'
make[2]: *** [autoMakefile:1200: modules] Error 2
make[2]: Leaving directory '/root/akash/akash/build/lustre-release'
make[1]: *** [autoMakefile:711: all-recursive] Error 1
make[1]: Leaving directory '/root/akash/akash/build/lustre-release'
make: *** [autoMakefile:571: all] Error 2
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/54818/
Subject:
LU-16791utils: ZFS 2.2 const prop argsProject: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 0a2d92bf0b2b533c0ddce6bb33cd7f3e25020710