Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Fixes Issue 33 - remove hackish code comment
Browse files Browse the repository at this point in the history
The comment wasn't really adding much, and the additional lines
had since been added to both 10a286 and onnv_72, so just clean up
  • Loading branch information
alblue committed Jul 17, 2010
1 parent 9b50db1 commit 6bebda0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions usr/src/lib/libzfs/common/libzfs_dataset.c
Expand Up @@ -2165,15 +2165,11 @@ get_numeric_property(zfs_handle_t *zhp, zfs_prop_t prop, zfs_source_t *src,
rewind(mnttab);
#endif /*!__APPLE__*/

/*XXXNOEL this code will work but is hackish
*/
if (getmntany(mnttab, &entry, &search) == 0) {
zhp->zfs_mntopts = zfs_strdup(zhp->zfs_hdl,
entry.mnt_mntopts);
#ifndef __APPLE__
if (zhp->zfs_mntopts == NULL)
return (-1);
#endif /* !__APPLE__ */
}

zhp->zfs_mntcheck = B_TRUE;
Expand Down

0 comments on commit 6bebda0

Please sign in to comment.