summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-24 16:45:42 +0000
committerpjd <pjd@FreeBSD.org>2007-04-24 16:45:42 +0000
commitc5bca6083876d0ec8f0f3e7ba25e09157bd105f5 (patch)
treedaac1333498fbad9b97b8c5920e877c38e3329c8 /sys/cddl
parentcb7771ffbb8a5846d82000b5f597bcdbf7c69bc9 (diff)
downloadFreeBSD-src-c5bca6083876d0ec8f0f3e7ba25e09157bd105f5.zip
FreeBSD-src-c5bca6083876d0ec8f0f3e7ba25e09157bd105f5.tar.gz
MFp4: We have stronger 'lock already initialized' check now, so we can
reduce diff against the vendor by removing bzero of this mutex.
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
index d15f6e2..e607744 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
@@ -1262,7 +1262,6 @@ vdev_dtl_sync(vdev_t *vd, uint64_t txg)
vdev_config_dirty(vd->vdev_top);
}
- bzero(&smlock, sizeof(smlock));
mutex_init(&smlock, NULL, MUTEX_DEFAULT, NULL);
space_map_create(&smsync, sm->sm_start, sm->sm_size, sm->sm_shift,
OpenPOWER on IntegriCloud