aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_vfsops.c
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 /module/zfs/zfs_vfsops.c
parent5476e6952c1ecbd2debe977eb5c3ec88dfdfea5b (diff)
Implemented NFS export_operations.
Implemented the required NFS operations for exporting ZFS datasets using the in-kernel NFS daemon.
Diffstat (limited to 'module/zfs/zfs_vfsops.c')
-rw-r--r--module/zfs/zfs_vfsops.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c
index 8a82d9d4b..e71aa91e1 100644
--- a/module/zfs/zfs_vfsops.c
+++ b/module/zfs/zfs_vfsops.c
@@ -1206,9 +1206,7 @@ zfs_domount(struct super_block *sb, void *data, int silent)
/* Set callback operations for the file system. */
sb->s_op = &zpl_super_operations;
sb->s_xattr = zpl_xattr_handlers;
-#ifdef HAVE_EXPORTS
- sb->s_export_op = &zpl_export_operations;
-#endif /* HAVE_EXPORTS */
+ sb->s_export_op = &zpl_export_operations;
/* Set features for file system. */
zfs_set_fuid_feature(zsb);