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 <behlendorf1@llnl.gov>
This commit is contained in:
Gunnar Beutner
2011-07-02 21:34:12 +02:00
committed by Brian Behlendorf
parent 52e7c3a2e5
commit 3c9609b322
2 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -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