I2O_BLOCK_DEVICE_UNL(9) Message-based devices I2O_BLOCK_DEVICE_UNL(9)NAMEi2o_block_device_unlock - Unlocks the media of device dev
SYNOPSIS
int i2o_block_device_unlock(struct i2o_device * dev, u32 media_id);
ARGUMENTS
dev
I2O device which should receive the unlocked request
media_id
Media Identifier
DESCRIPTION
Unlocks the media in device dev. The media identifier should be set to
-1, because the spec does not support any other value.
Returns 0 on success or negative error code on failure.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 I2O_BLOCK_DEVICE_UNL(9)