freebsd-dev/sys/cddl/contrib/opensolaris
Pawel Jakub Dawidek 3f6043a57d When snapshot mount point is busy (for example we are still in it)
we will fail to unmount it, but it won't be removed from the tree,
so in that case there is no need to reinsert it.

This fixes a panic reproducable in the following steps:

	# zfs create tank/foo
	# zfs snapshot tank/foo@snap
	# cd /tank/foo/.zfs/snapshot/snap
	# umount /tank/foo
	panic: avl_find() succeeded inside avl_add()

Reported by:	trasz
MFC after:	3 days
2009-09-07 21:46:51 +00:00
..
common Fix misalignment in nvpair_native_embedded() caused by the compiler 2009-08-16 01:48:46 +00:00
uts When snapshot mount point is busy (for example we are still in it) 2009-09-07 21:46:51 +00:00
OPENSOLARIS.LICENSE Now that we have CDDLed code in the tree, add CDDL license. 2007-09-23 07:04:50 +00:00