diff options
author | smh <smh@FreeBSD.org> | 2013-06-29 23:15:45 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-06-29 23:15:45 +0000 |
commit | a93f7774823be2c4db37bfbc7c8eead7a64349d6 (patch) | |
tree | 48af55ccf6bdd75a57bb4ce4108c25d50ffd3896 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c | |
parent | 3a5f04c7d205b865306e8b05adc113860ab18684 (diff) | |
download | FreeBSD-src-a93f7774823be2c4db37bfbc7c8eead7a64349d6.zip FreeBSD-src-a93f7774823be2c4db37bfbc7c8eead7a64349d6.tar.gz |
Remove invalid ASSERT which causes a panic on zfs renames when run with ASSERTS.
Removal was missed in merge of illumos 3464 (r248571)
MFC after: 2 days
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c index b0bac9c..7d0b104 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dir.c @@ -1258,8 +1258,6 @@ dsl_dir_rename_sync(void *arg, dmu_tx_t *tx) int error; objset_t *mos = dp->dp_meta_objset; - ASSERT(dmu_buf_refcount(dd->dd_dbuf) <= 2); - VERIFY0(dsl_dir_hold(dp, ddra->ddra_oldname, FTAG, &dd, NULL)); VERIFY0(dsl_dir_hold(dp, ddra->ddra_newname, FTAG, &newparent, &mynewname)); |