 if ((filp->f_mode & FMODE_WRITE) && mmc_card_readonly(md->queue.card)) ret = -EROFS; 
static int mmc_blk_open(struct inode *inode, struct file *filp){	struct mmc_blk_data *md;	int ret = -ENXIO;	md = mmc_blk_get(inode->i_bdev->bd_disk);	if (md) {		if (md->usage == 2)			check_disk_change(inode->i_bdev);		ret = 0;	}	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a00fc09029f02ca833cf90e5d5625f08c4ac4f51/mmc_block.c/clean/drivers/mmc/mmc_block.c