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.