Name
i2o_block_release —
Release the I2O block device
Synopsis
int i2o_block_release ( | struct gendisk * disk, |
| fmode_t mode) ; |
Arguments
disk
gendisk device being released
mode
file open mode
Description
Unlock and unmount the media, and power down the device. Gets called if
the block device is closed.
Returns 0 on success or negative error code on failure.