Allow mounting of read-only snapshots
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 May 2011 16:40:57 +0000 (09:40 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 5 May 2011 17:13:38 +0000 (10:13 -0700)
commit3613204cd7e3ab1ae658e31dac875e58827a6655
tree3bb08220ec1cf1a4e442b36c8ba7303ca8dda39e
parentc409e4647f221ab724a0bd10c480ac95447203c3
Allow mounting of read-only snapshots

With the addition of the mount helper we accidentally regressed
the ability to manually mount snapshots.  This commit updates
the mount helper to expect the possibility of a ZFS_TYPE_SNAPSHOT.
All snapshot will be automatically treated as 'legacy' type mounts
so they can be mounted manually.
cmd/mount_zfs/mount_zfs.c