1I2O_BLOCK_OPEN(9) Message-based devices I2O_BLOCK_OPEN(9)
23
4
NAME
6i2o_block_open - Open the block device
7
SYNOPSIS
9int i2o_block_open(struct block_device * bdev, fmode_t mode);
10
ARGUMENTS
12bdev
13block device being opened
1415
mode
16file open mode
17
DESCRIPTION
19Power up the device, mount and lock the media. This function is called,
20if the block device is opened for access.
2122
Returns 0 on success or negative error code on failure.
23
COPYRIGHT
25Kernel Hackers Manual 2.6. November 2011 I2O_BLOCK_OPEN(9)