* does not actually exist on disk.
*
* For 'snapshot', we don't want to have all snapshots always mounted, because
- * this would take up a huge amount of space in /etc/mnttab. We have three
+ * this would take up a huge amount of space in /etc/mtab. We have three
* types of objects:
*
* ctldir ------> snapshotdir -------> snapshot
* so that it cannot be freed until all snapshots have been unmounted.
*/
+#ifdef HAVE_ZPL
+
#include <fs/fs_subr.h>
#include <sys/zfs_ctldir.h>
#include <sys/zfs_ioctl.h>
return (error);
}
+#endif /* HAVE_ZPL */