i2o_block_device_lock9
Locks the media of device dev
Usage
int i2o_block_device_lock(struct i2o_device * dev, u32 media_id);
Arguments
dev
I2O device which should receive the lock request
media_id
Media Identifier
Overview
Lock media of device dev to prevent removal. 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.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.