.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "ZFCP_ERP_UNIT_REOPEN" "9" "09 October 2005" "" "" .SH NAME zfcp_erp_unit_reopen \- initiate reopen of a unit .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int zfcp_erp_unit_reopen (struct zfcp_unit * \fIunit\fB, int \fIclear_mask\fB); \fR .SH "ARGUMENTS" .TP \fB\fIunit\fB\fR unit to be reopened .TP \fB\fIclear_mask\fB\fR specifies flags in unit status to be cleared .SH "RETURN" .PP 0 on success, < 0 on error .PP This is a wrappper for zfcp_erp_unit_reopen_internal. It ensures correct locking. An error recovery task is initiated to do the reopen. To wait for the completion of the reopen zfcp_erp_wait should be used.