freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs
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
..
zfs When snapshot mount point is busy (for example we are still in it) 2009-09-07 21:46:51 +00:00
gfs.c work around snapshot shutdown race reported by Henri Hennebert 2009-05-30 19:26:35 +00:00
vnode.c Manage asynchronous vnode release just like Solaris. 2009-08-17 09:48:34 +00:00