.\" 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 "I2O_BLOCK_OPEN" "9" "09 October 2005" "" "" .SH NAME i2o_block_open \- Open the block device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int i2o_block_open (struct inode * \fIinode\fB, struct file * \fIfile\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR -- undescribed -- .TP \fB\fIfile\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP Power up the device, mount and lock the media. This function is called, if the block device is opened for access. .PP Returns 0 on success or negative error code on failure.