diff options
author | mm <mm@FreeBSD.org> | 2010-05-21 09:35:28 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-05-21 09:35:28 +0000 |
commit | 71313e529c8e699d28c5847cca2a02357379914f (patch) | |
tree | bd688d84db95eec00092769e23323090995dfa63 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c | |
parent | c5161d1ad5baa751d09569af1e5c06e990e4edaa (diff) | |
download | FreeBSD-src-71313e529c8e699d28c5847cca2a02357379914f.zip FreeBSD-src-71313e529c8e699d28c5847cca2a02357379914f.tar.gz |
Reorder some already introduced locking variables.
OpenSolaris onnv revision: 8214:d7abf7c1f1c1
Approved by: pjd, delphij (mentor)
Obtained from: OpenSolaris (Bug ID 6747934)
MFC after: 3 days
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c index 8fdfa62..0f247c0 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/space_map.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/zfs_context.h> #include <sys/spa.h> #include <sys/dmu.h> @@ -61,6 +59,7 @@ space_map_create(space_map_t *sm, uint64_t start, uint64_t size, uint8_t shift, bzero(sm, sizeof (*sm)); cv_init(&sm->sm_load_cv, NULL, CV_DEFAULT, NULL); + avl_create(&sm->sm_root, space_map_seg_compare, sizeof (space_seg_t), offsetof(struct space_seg, ss_node)); |