X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=lib%2Flibzfs%2Flibzfs_mount.c;fp=lib%2Flibzfs%2Flibzfs_mount.c;h=bded1f001425b8bf77979911b0dcfecdc52eca0f;hb=abbfdca483897d4406889e3517e77baf07573ecb;hp=9a57ad98f050c13eaff6a5610436b398e70f5a1e;hpb=f9e459d1435832caa69fdaf236ebaeacd93f1b3e;p=zfs.git diff --git a/lib/libzfs/libzfs_mount.c b/lib/libzfs/libzfs_mount.c index 9a57ad9..bded1f0 100644 --- a/lib/libzfs/libzfs_mount.c +++ b/lib/libzfs/libzfs_mount.c @@ -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);