dmu_traverse.c (262107) | dmu_traverse.c (262120) |
---|---|
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 --- 347 unchanged lines hidden (view full) --- 356 DMU_USERUSED_OBJECT); 357 } 358 } 359 360 if (buf) 361 (void) arc_buf_remove_ref(buf, &buf); 362 363post: | 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 --- 347 unchanged lines hidden (view full) --- 356 DMU_USERUSED_OBJECT); 357 } 358 } 359 360 if (buf) 361 (void) arc_buf_remove_ref(buf, &buf); 362 363post: |
364 if (err == 0 && lasterr == 0 && (td->td_flags & TRAVERSE_POST)) { | 364 if (err == 0 && (td->td_flags & TRAVERSE_POST)) { |
365 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg); 366 if (err == ERESTART) 367 pause = B_TRUE; 368 } 369 370 if (pause && td->td_resume != NULL) { 371 ASSERT3U(err, ==, ERESTART); 372 ASSERT(!hard); --- 263 unchanged lines hidden --- | 365 err = td->td_func(td->td_spa, NULL, bp, zb, dnp, td->td_arg); 366 if (err == ERESTART) 367 pause = B_TRUE; 368 } 369 370 if (pause && td->td_resume != NULL) { 371 ASSERT3U(err, ==, ERESTART); 372 ASSERT(!hard); --- 263 unchanged lines hidden --- |