f9693bef8d
Notable upstream pull request merges: #11652 Split dmu_zfetch() speculation and execution parts #11682 Fix zfs_get_data access to files with wrong generation #11735 Clean up RAIDZ/DRAID ereport code #11737 Initialize metaslab range trees in metaslab_init #11739 FreeBSD: make seqc asserts conditional on replay #11763 Allow setting bootfs property on pools with indirect vdevs #11767 FreeBSD: Fix memory leaks in kstats Obtained from: OpenZFS MFC after: 2 weeks
29 lines
771 B
Plaintext
29 lines
771 B
Plaintext
dnl #
|
|
dnl # 5.12 API
|
|
dnl #
|
|
dnl # generic_fillattr in linux/fs.h now requires a struct user_namespace*
|
|
dnl # as the first arg, to support idmapped mounts.
|
|
dnl #
|
|
AC_DEFUN([ZFS_AC_KERNEL_SRC_GENERIC_FILLATTR_USERNS], [
|
|
ZFS_LINUX_TEST_SRC([generic_fillattr_userns], [
|
|
#include <linux/fs.h>
|
|
],[
|
|
struct user_namespace *userns = NULL;
|
|
struct inode *in = NULL;
|
|
struct kstat *k = NULL;
|
|
generic_fillattr(userns, in, k);
|
|
])
|
|
])
|
|
|
|
AC_DEFUN([ZFS_AC_KERNEL_GENERIC_FILLATTR_USERNS], [
|
|
AC_MSG_CHECKING([whether generic_fillattr requres struct user_namespace*])
|
|
ZFS_LINUX_TEST_RESULT([generic_fillattr_userns], [
|
|
AC_MSG_RESULT([yes])
|
|
AC_DEFINE(HAVE_GENERIC_FILLATTR_USERNS, 1,
|
|
[generic_fillattr requires struct user_namespace*])
|
|
],[
|
|
AC_MSG_RESULT([no])
|
|
])
|
|
])
|
|
|