1I2O_BLOCK_DEVICE_LOC(9)      Message-based devices     I2O_BLOCK_DEVICE_LOC(9)
2
3
4

NAME

6       i2o_block_device_lock - Locks the media of device dev
7

SYNOPSIS

9       int i2o_block_device_lock(struct i2o_device * dev, u32 media_id);
10

ARGUMENTS

12       dev
13           I2O device which should receive the lock request
14
15       media_id
16           Media Identifier
17

DESCRIPTION

19       Lock media of device dev to prevent removal. The media identifier
20       should be set to -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.       November 2011         I2O_BLOCK_DEVICE_LOC(9)
Impressum