summaryrefslogtreecommitdiffstats
path: root/include/sys/zpl.h
diff options
context:
space:
mode:
authorGunnar Beutner <[email protected]>2011-04-28 18:35:50 +0200
committerBrian Behlendorf <[email protected]>2011-04-29 12:36:13 -0700
commit055656d4f4dfc1a85646a2c0cc10b9dce86da72b (patch)
tree505300e61b58536f0f18b2e43d1ee360a47dbf81 /include/sys/zpl.h
parent5476e6952c1ecbd2debe977eb5c3ec88dfdfea5b (diff)
Implemented NFS export_operations.
Implemented the required NFS operations for exporting ZFS datasets using the in-kernel NFS daemon.
Diffstat (limited to 'include/sys/zpl.h')
-rw-r--r--include/sys/zpl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/zpl.h b/include/sys/zpl.h
index b6da0d271..721347585 100644
--- a/include/sys/zpl.h
+++ b/include/sys/zpl.h
@@ -28,6 +28,7 @@
#include <sys/vfs.h>
#include <linux/vfs_compat.h>
#include <linux/xattr_compat.h>
+#include <linux/exportfs.h>
/* zpl_inode.c */
extern const struct inode_operations zpl_inode_operations;
@@ -53,7 +54,7 @@ typedef struct zpl_mount_data {
} zpl_mount_data_t;
extern const struct super_operations zpl_super_operations;
-/* extern const struct export_operations zpl_export_operations; */
+extern const struct export_operations zpl_export_operations;
extern struct file_system_type zpl_fs_type;
/* zpl_xattr.c */