Implemented NFS export_operations.
[zfs.git] / include / sys / zpl.h
index 33f4f62..7213475 100644 (file)
@@ -26,6 +26,9 @@
 #define        _SYS_ZPL_H
 
 #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;
@@ -51,13 +54,13 @@ 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 */
 extern ssize_t zpl_xattr_list(struct dentry *dentry, char *buf, size_t size);
 extern int zpl_xattr_security_init(struct inode *ip, struct inode *dip);
 
-extern struct xattr_handler *zpl_xattr_handlers[];
+extern xattr_handler_t *zpl_xattr_handlers[];
 
 #endif /* _SYS_ZPL_H */