Closed GoogleCodeExporter closed 9 years ago
Original comment by jason.richard.mcneil
on 28 Feb 2010 at 10:14
This is what the code looked like in the 10a286 bits:
search.mnt_special = (char *)zhp->zfs_name;
search.mnt_fstype = MNTTYPE_ZFS;
#ifndef __APPLE__
rewind(mnttab);
#endif
if (getmntany(mnttab, &entry, &search) == 0) {
zhp->zfs_mntopts = zfs_strdup(zhp->zfs_hdl,
entry.mnt_mntopts);
if (zhp->zfs_mntopts == NULL)
return (-1);
}
zhp->zfs_mntcheck = B_TRUE;
So I think we just ditch the comment and the ifdef
Original comment by alex.ble...@gmail.com
on 17 Jul 2010 at 9:41
Fixed in
http://github.com/alblue/mac-zfs/commit/6bebda089240cdc346347dffa37677bf4a2f70c7
Original comment by alex.ble...@gmail.com
on 17 Jul 2010 at 10:41
Original issue reported on code.google.com by
jason.richard.mcneil
on 21 Feb 2010 at 6:21