aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_znode.c
diff options
context:
space:
mode:
authorGunnar Beutner <[email protected]>2011-07-02 21:34:12 +0200
committerBrian Behlendorf <[email protected]>2011-07-06 09:20:28 -0700
commit3c9609b322db2925aff628217eca9297d6fb569b (patch)
treeba83fac5c0c00dd60b9c7c5087b8d8bc44914d4b /module/zfs/zfs_znode.c
parent52e7c3a2e503f78a44fbe5fd9299b11c3aa98651 (diff)
Renamed HAVE_SHARE ifdefs to HAVE_SMB_SHARE.
The remaining code that is guarded by HAVE_SHARE ifdefs is related to the .zfs/shares functionality which is currently not available on Linux. On Solaris the .zfs/shares directory can be used to set permissions for SMB shares. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zfs_znode.c')
-rw-r--r--module/zfs/zfs_znode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/zfs_znode.c b/module/zfs/zfs_znode.c
index a51d5e6f3..b56e290cb 100644
--- a/module/zfs/zfs_znode.c
+++ b/module/zfs/zfs_znode.c
@@ -161,7 +161,7 @@ zfs_znode_fini(void)
int
zfs_create_share_dir(zfs_sb_t *zsb, dmu_tx_t *tx)
{
-#ifdef HAVE_SHARE
+#ifdef HAVE_SMB_SHARE
zfs_acl_ids_t acl_ids;
vattr_t vattr;
znode_t *sharezp;
@@ -203,7 +203,7 @@ zfs_create_share_dir(zfs_sb_t *zsb, dmu_tx_t *tx)
return (error);
#else
return (0);
-#endif /* HAVE_SHARE */
+#endif /* HAVE_SMB_SHARE */
}
static void