i2o_block_check_events
Prev | I2O message devices | Next

## Name

i2o_block_check_events — Have we seen a media change?

## Synopsis

`unsigned int i2o_block_check_events (` | struct gendisk * disk,
| unsigned int clearing`)`;

## Arguments

`disk`

  gendisk which should be verified

`clearing`

  events being cleared

## Description

Verifies if the media has changed.

Returns 1 if the media was changed or 0 otherwise.

Prev | Up | Next
i2o_block_ioctl | Home | i2o_block_transfer