I2O_BLOCK_DEVICE_LOCK
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
i2o_block_device_lock - Locks the media of device dev
SYNOPSIS
"SYNOPSIS"
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
DESCRIPTION
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.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:12 GMT, October 09, 2005