3 dnl # struct iattr has two unions for the uid and gid
5 AC_DEFUN([ZFS_AC_KERNEL_SRC_IATTR_VFSID], [
6 ZFS_LINUX_TEST_SRC([iattr_vfsid], [
10 ia.ia_vfsuid = (vfsuid_t){0};
11 ia.ia_vfsgid = (vfsgid_t){0};
15 AC_DEFUN([ZFS_AC_KERNEL_IATTR_VFSID], [
16 AC_MSG_CHECKING([whether iattr->ia_vfsuid and iattr->ia_vfsgid exist])
17 ZFS_LINUX_TEST_RESULT([iattr_vfsid], [
19 AC_DEFINE(HAVE_IATTR_VFSID, 1,
20 [iattr->ia_vfsuid and iattr->ia_vfsgid exist])