i2o_block_device_lock — Locks the media of device dev
I2O device which should receive the lock request
Media Identifier
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.