freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
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
..
sys Backport the 'dirtying dbuf' panic fix from newer ZFS version. 2009-08-31 16:27:00 +00:00
arc.c Prevent the line from wrapping. 2009-09-07 16:56:41 +00:00
bplist.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dbuf.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dmu_object.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dmu_objset.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dmu_send.c Backport the 'dirtying dbuf' panic fix from newer ZFS version. 2009-08-31 16:27:00 +00:00
dmu_traverse.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dmu_tx.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dmu_zfetch.c pjd has requested that I keep the tunable as zfs_prefetch_disable to minimize gratuitous 2009-06-11 22:24:08 +00:00
dmu.c Manage asynchronous vnode release just like Solaris. 2009-08-17 09:48:34 +00:00
dnode_sync.c Backport the 'dirtying dbuf' panic fix from newer ZFS version. 2009-08-31 16:27:00 +00:00
dnode.c Backport the 'dirtying dbuf' panic fix from newer ZFS version. 2009-08-31 16:27:00 +00:00
dsl_dataset.c bzero() on-stack argument, so mutex_init() won't misinterpret that the 2009-09-07 11:38:43 +00:00
dsl_deleg.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dsl_dir.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dsl_pool.c Manage asynchronous vnode release just like Solaris. 2009-08-17 09:48:34 +00:00
dsl_prop.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dsl_scrub.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
dsl_synctask.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
fletcher.c
gzip.c
lzjb.c
metaslab.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
refcount.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
rrwlock.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
sha256.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
spa_config.c Fix locking (file descriptor table and Giant around VFS). 2008-11-25 21:14:00 +00:00
spa_errlog.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
spa_history.c Rename the host-related prison fields to be the same as the host.* 2009-06-13 15:39:12 +00:00
spa_misc.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
spa.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
space_map.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
txg.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
uberblock.c
unique.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_cache.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_disk.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_file.c Fix locking (file descriptor table and Giant around VFS). 2008-11-25 21:14:00 +00:00
vdev_geom.c - Hide ZFS kernel threads under zfskern process. 2009-08-23 11:33:46 +00:00
vdev_label.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_mirror.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_missing.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_queue.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_raidz.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev_root.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
vdev.c Allow the bootfs property to be set for raidz pools on FreeBSD. 2009-05-31 11:59:32 +00:00
zap_leaf.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zap_micro.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zap.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zfs_acl.c Fix permission handling for extended attributes in ZFS. Without 2009-07-20 19:16:42 +00:00
zfs_byteswap.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zfs_ctldir.c When snapshot mount point is busy (for example we are still in it) 2009-09-07 21:46:51 +00:00
zfs_dir.c Fix permission handling for extended attributes in ZFS. Without 2009-07-20 19:16:42 +00:00
zfs_fm.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zfs_fuid.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zfs_ioctl.c - Hide ZFS kernel threads under zfskern process. 2009-08-23 11:33:46 +00:00
zfs_log.c MFp4: We don't support TX_CREATE_ACL_ATTR nor TX_MKDIR_ACL_ATTR; code found 2008-11-25 23:05:46 +00:00
zfs_replay.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zfs_rlock.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zfs_vfsops.c Don't recheck ownership on update mount. This will eliminate LOR between 2009-09-07 18:54:55 +00:00
zfs_vnops.c Enable NFSv4 ACL support in ZFS. 2009-09-07 19:43:13 +00:00
zfs_znode.c Add a new internal mount flag (MNTK_EXTENDED_SHARED) to indicate that a 2009-03-11 14:13:47 +00:00
zfs.conf
zil.c Asynchronously release vnodes to avoid blocking on range locks when calling back in to zfs. 2009-05-07 20:28:06 +00:00
zio_checksum.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zio_compress.c
zio_inject.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
zio.c - back out direct map hack 2009-05-19 01:14:37 +00:00
zvol.c Changing provider size is not really supported by GEOM, but doing so when 2009-09-07 14:16:50 +00:00