/* Returns 1 if the media was changed or 0 otherwise.  */
static int i2o_block_media_changed(struct gendisk *disk)
/* Returns 1 if the media was changed or 0 otherwise.  */
static int i2o_block_media_changed(struct gendisk *disk)
{
	struct i2o_block_device *p = disk->private_data;
	if (p->media_change_flag) {
		p->media_change_flag = 0;
		return 1;
	}
	return 0;
}