dsl_destroy.c (251646) | dsl_destroy.c (252219) |
---|---|
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 --- 115 unchanged lines hidden (view full) --- 124 nvpair_name(pair), error); 125 } 126 } 127 128 pair = nvlist_next_nvpair(dsda->dsda_errlist, NULL); 129 if (pair != NULL) 130 return (fnvpair_value_int32(pair)); 131 | 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 --- 115 unchanged lines hidden (view full) --- 124 nvpair_name(pair), error); 125 } 126 } 127 128 pair = nvlist_next_nvpair(dsda->dsda_errlist, NULL); 129 if (pair != NULL) 130 return (fnvpair_value_int32(pair)); 131 |
132 if (nvlist_empty(dsda->dsda_successful_snaps)) 133 return (SET_ERROR(ENOENT)); 134 | |
135 return (0); 136} 137 138struct process_old_arg { 139 dsl_dataset_t *ds; 140 dsl_dataset_t *ds_prev; 141 boolean_t after_branch_point; 142 zio_t *pio; --- 793 unchanged lines hidden --- | 132 return (0); 133} 134 135struct process_old_arg { 136 dsl_dataset_t *ds; 137 dsl_dataset_t *ds_prev; 138 boolean_t after_branch_point; 139 zio_t *pio; --- 793 unchanged lines hidden --- |