diff options
author | Gunnar Beutner <[email protected]> | 2011-04-28 18:35:50 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-04-29 12:36:13 -0700 |
commit | 055656d4f4dfc1a85646a2c0cc10b9dce86da72b (patch) | |
tree | 505300e61b58536f0f18b2e43d1ee360a47dbf81 /config | |
parent | 5476e6952c1ecbd2debe977eb5c3ec88dfdfea5b (diff) |
Implemented NFS export_operations.
Implemented the required NFS operations for exporting ZFS datasets
using the in-kernel NFS daemon.
Diffstat (limited to 'config')
-rw-r--r-- | config/kernel-d-obtain-alias.m4 | 12 | ||||
-rw-r--r-- | config/kernel.m4 | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/config/kernel-d-obtain-alias.m4 b/config/kernel-d-obtain-alias.m4 new file mode 100644 index 000000000..d80a1c89c --- /dev/null +++ b/config/kernel-d-obtain-alias.m4 @@ -0,0 +1,12 @@ +dnl # +dnl # 2.6.28 API change +dnl # Added d_obtain_alias() helper function. +dnl # +AC_DEFUN([ZFS_AC_KERNEL_D_OBTAIN_ALIAS], [ + ZFS_CHECK_SYMBOL_EXPORT( + [d_obtain_alias], + [fs/dcache.c], + [AC_DEFINE(HAVE_D_OBTAIN_ALIAS, 1, + [d_obtain_alias() is available])], + []) +]) diff --git a/config/kernel.m4 b/config/kernel.m4 index f31d93c97..e2a983b54 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -35,6 +35,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_FSYNC_2ARGS ZFS_AC_KERNEL_EVICT_INODE ZFS_AC_KERNEL_INSERT_INODE_LOCKED + ZFS_AC_KERNEL_D_OBTAIN_ALIAS if test "$LINUX_OBJ" != "$LINUX"; then KERNELMAKE_PARAMS="$KERNELMAKE_PARAMS O=$LINUX_OBJ" |