ARGSUSED */
| 3641 | |
| 3642 | /* ARGSUSED */ |
| 3643 | int |
| 3644 | zil_reset(const char *osname, void *arg) |
| 3645 | { |
| 3646 | int error; |
| 3647 | |
| 3648 | error = zil_suspend(osname, NULL); |
| 3649 | /* EACCES means crypto key not loaded */ |
| 3650 | if ((error == EACCES) || (error == EBUSY)) |
| 3651 | return (SET_ERROR(error)); |
| 3652 | if (error != 0) |
| 3653 | return (SET_ERROR(EEXIST)); |
| 3654 | return (0); |
| 3655 | } |
| 3656 | |
| 3657 | EXPORT_SYMBOL(zil_alloc); |
| 3658 | EXPORT_SYMBOL(zil_free); |
nothing calls this directly
no test coverage detected