Print this page
8368 remove warlock leftovers from usr/src/uts

*** 2706,2716 **** } static void cmlb_swap_efi_gpt(efi_gpt_t *e) { - _NOTE(ASSUMING_PROTECTED(*e)) e->efi_gpt_Signature = LE_64(e->efi_gpt_Signature); e->efi_gpt_Revision = LE_32(e->efi_gpt_Revision); e->efi_gpt_HeaderSize = LE_32(e->efi_gpt_HeaderSize); e->efi_gpt_HeaderCRC32 = LE_32(e->efi_gpt_HeaderCRC32); e->efi_gpt_MyLBA = LE_64(e->efi_gpt_MyLBA); --- 2706,2715 ----
*** 2730,2740 **** static void cmlb_swap_efi_gpe(int nparts, efi_gpe_t *p) { int i; - _NOTE(ASSUMING_PROTECTED(*p)) for (i = 0; i < nparts; i++) { UUID_LE_CONVERT(p[i].efi_gpe_PartitionTypeGUID, p[i].efi_gpe_PartitionTypeGUID); p[i].efi_gpe_StartingLBA = LE_64(p[i].efi_gpe_StartingLBA); p[i].efi_gpe_EndingLBA = LE_64(p[i].efi_gpe_EndingLBA); --- 2729,2738 ----
*** 3854,3864 **** /* * Set the map for all logical partitions. We lock * the priority just to make sure an interrupt doesn't * come in while the map is half updated. */ - _NOTE(DATA_READABLE_WITHOUT_LOCK(cmlb_lun::cl_solaris_size)) mutex_enter(CMLB_MUTEX(cl)); if (cl->cl_blockcount > CMLB_OLDVTOC_LIMIT) { mutex_exit(CMLB_MUTEX(cl)); return (ENOTSUP); --- 3852,3861 ----
*** 5175,5189 **** mutex_exit(CMLB_MUTEX(cl)); kmem_free(mboot, cl->cl_sys_blocksize); return (rval); } } - - #ifdef __lock_lint - cmlb_setup_default_geometry(cl, tg_cookie); - #endif - #else if (rval == 0) { /* * mboot has been written successfully. * set up the default geometry and VTOC --- 5172,5181 ----