| 2553 | } |
| 2554 | |
| 2555 | static int |
| 2556 | ztest_setattr(ztest_ds_t *zd, uint64_t object) |
| 2557 | { |
| 2558 | lr_setattr_t *lr; |
| 2559 | int error; |
| 2560 | |
| 2561 | lr = ztest_lr_alloc(sizeof (*lr), NULL); |
| 2562 | |
| 2563 | lr->lr_foid = object; |
| 2564 | lr->lr_size = 0; |
| 2565 | lr->lr_mode = 0; |
| 2566 | |
| 2567 | error = ztest_replay_setattr(zd, lr, B_FALSE); |
| 2568 | |
| 2569 | ztest_lr_free(lr, sizeof (*lr), NULL); |
| 2570 | |
| 2571 | return (error); |
| 2572 | } |
| 2573 | |
| 2574 | static void |
| 2575 | ztest_prealloc(ztest_ds_t *zd, uint64_t object, uint64_t offset, uint64_t size) |
no test coverage detected