I2O_BLOCK_RELEASE
Section: Message-based devices (9)
Updated: February 2011
Index
Return to Main Contents
 
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.
 
COPYRIGHT