Open the block device
int i2o_block_open(struct block_device * bdev, fmode_t mode);
bdev
block device being opened
mode
file open mode
Power up the device, mount and lock the media. This function is called, if the block device is opened for access.
Returns 0 on success or negative error code on failure.