.\" 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_PORT_REOPEN" "9" "09 October 2005" "" ""
.SH NAME
zfcp_erp_port_reopen \- initiate reopen of a remote port
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int zfcp_erp_port_reopen (struct zfcp_port * \fIport\fB, int \fIclear_mask\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIport\fB\fR
port to be reopened
.TP
\fB\fIclear_mask\fB\fR
specifies flags in port status to be cleared
.SH "RETURN"
.PP
0 on success, < 0 on error
.PP
This is a wrappper function for zfcp_erp_port_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.