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-automount.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 # 2.6.37 API change
    3 dnl # The dops->d_automount() dentry operation was added as a clean
    4 dnl # solution to handling automounts.  Prior to this cifs/nfs clients
    5 dnl # which required automount support would abuse the follow_link()
    6 dnl # operation on directories for this purpose.
    7 dnl #
    8 AC_DEFUN([ZFS_AC_KERNEL_SRC_AUTOMOUNT], [
    9         ZFS_LINUX_TEST_SRC([dentry_operations_d_automount], [
   10                 #include <linux/dcache.h>
   11                 struct vfsmount *d_automount(struct path *p) { return NULL; }
   12                 struct dentry_operations dops __attribute__ ((unused)) = {
   13                         .d_automount = d_automount,
   14                 };
   15         ])
   16 ])
   17 
   18 AC_DEFUN([ZFS_AC_KERNEL_AUTOMOUNT], [
   19         AC_MSG_CHECKING([whether dops->d_automount() exists])
   20         ZFS_LINUX_TEST_RESULT([dentry_operations_d_automount], [
   21                 AC_MSG_RESULT(yes)
   22         ],[
   23                 ZFS_LINUX_TEST_ERROR([dops->d_automount()])
   24         ])
   25 ])

Cache object: 742bc68eb06d14fe7b09636c44456c8f


[ 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.