]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - lib/libzfs/libzfs_mount.c
Imported Upstream version 0.6.2
[mirror_zfs-debian.git] / lib / libzfs / libzfs_mount.c
index 9a57ad98f050c13eaff6a5610436b398e70f5a1e..bded1f001425b8bf77979911b0dcfecdc52eca0f 100644 (file)
@@ -877,7 +877,6 @@ zfs_unshare_proto(zfs_handle_t *zhp, const char *mountpoint,
        char *mntpt = NULL;
 
        /* check to see if need to unmount the filesystem */
-       rewind(zhp->zfs_hdl->libzfs_mnttab);
        if (mountpoint != NULL)
                mountpoint = mntpt = zfs_strdup(hdl, mountpoint);