1. NAME

i2o_block_ioctl - Issue device specific ioctl calls.

2. SYNOPSIS

int i2o_block_ioctl(struct block_device *  bdev , fmode_t  mode , unsigned int  cmd , unsigned long  arg );

3. ARGUMENTS

bdev
    block device being opened

mode
    file open mode

cmd
    ioctl command

arg
    arg

4. DESCRIPTION

Handles ioctl request for the block device.

Return 0 on success or negative error on failure.

5. COPYRIGHT