The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/openzfs/config/kernel-generic_fillattr.m4

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 dnl #
    2 dnl # 5.12 API
    3 dnl #
    4 dnl # generic_fillattr in linux/fs.h now requires a struct user_namespace*
    5 dnl # as the first arg, to support idmapped mounts.
    6 dnl #
    7 AC_DEFUN([ZFS_AC_KERNEL_SRC_GENERIC_FILLATTR_USERNS], [
    8         ZFS_LINUX_TEST_SRC([generic_fillattr_userns], [
    9                 #include <linux/fs.h>
   10         ],[
   11                 struct user_namespace *userns = NULL;
   12                 struct inode *in = NULL;
   13                 struct kstat *k = NULL;
   14                 generic_fillattr(userns, in, k);
   15         ])
   16 ])
   17 
   18 AC_DEFUN([ZFS_AC_KERNEL_GENERIC_FILLATTR_USERNS], [
   19         AC_MSG_CHECKING([whether generic_fillattr requires struct user_namespace*])
   20         ZFS_LINUX_TEST_RESULT([generic_fillattr_userns], [
   21                 AC_MSG_RESULT([yes])
   22                 AC_DEFINE(HAVE_GENERIC_FILLATTR_USERNS, 1,
   23                     [generic_fillattr requires struct user_namespace*])
   24         ],[
   25                 AC_MSG_RESULT([no])
   26         ])
   27 ])
   28 

Cache object: d2dd82386c4f37109f60112e645e1ef1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.