1I2O_BLOCK_DEVICE_UNL(9) Message-based devices I2O_BLOCK_DEVICE_UNL(9)
2
3
4
6 i2o_block_device_unlock - Unlocks the media of device dev
7
9 int i2o_block_device_unlock(struct i2o_device * dev, u32 media_id);
10
12 dev
13 I2O device which should receive the unlocked request
14
15 media_id
16 Media Identifier
17
19 Unlocks the media in device dev. The media identifier should be set to
20 -1, because the spec does not support any other value.
21
22 Returns 0 on success or negative error code on failure.
23
25Kernel Hackers Manual 2.6. June 2019 I2O_BLOCK_DEVICE_UNL(9)