Deleted Added
full compact
dsl_pool.c (239774) dsl_pool.c (240415)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 275 unchanged lines hidden (view full) ---

284
285 /* create and open the MOS (meta-objset) */
286 dp->dp_meta_objset = dmu_objset_create_impl(spa,
287 NULL, &dp->dp_meta_rootbp, DMU_OST_META, tx);
288
289 /* create the pool directory */
290 err = zap_create_claim(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT,
291 DMU_OT_OBJECT_DIRECTORY, DMU_OT_NONE, 0, tx);
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 275 unchanged lines hidden (view full) ---

284
285 /* create and open the MOS (meta-objset) */
286 dp->dp_meta_objset = dmu_objset_create_impl(spa,
287 NULL, &dp->dp_meta_rootbp, DMU_OST_META, tx);
288
289 /* create the pool directory */
290 err = zap_create_claim(dp->dp_meta_objset, DMU_POOL_DIRECTORY_OBJECT,
291 DMU_OT_OBJECT_DIRECTORY, DMU_OT_NONE, 0, tx);
292 ASSERT3U(err, ==, 0);
292 ASSERT0(err);
293
294 /* Initialize scan structures */
295 VERIFY3U(0, ==, dsl_scan_init(dp, txg));
296
297 /* create and open the root dir */
298 dp->dp_root_dir_obj = dsl_dir_create_sync(dp, NULL, NULL, tx);
299 VERIFY(0 == dsl_dir_open_obj(dp, dp->dp_root_dir_obj,
300 NULL, dp, &dp->dp_root_dir));

--- 655 unchanged lines hidden ---
293
294 /* Initialize scan structures */
295 VERIFY3U(0, ==, dsl_scan_init(dp, txg));
296
297 /* create and open the root dir */
298 dp->dp_root_dir_obj = dsl_dir_create_sync(dp, NULL, NULL, tx);
299 VERIFY(0 == dsl_dir_open_obj(dp, dp->dp_root_dir_obj,
300 NULL, dp, &dp->dp_root_dir));

--- 655 unchanged lines hidden ---