dasd_use_diag_store(struct device *dev, const char *buf, size_t count) 
dasd_use_diag_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) 
dasd_use_diag_store(struct device *dev, const char *buf, size_t count){	struct dasd_devmap *devmap;	ssize_t rc;	int use_diag;	devmap = dasd_devmap_from_cdev(to_ccwdev(dev));	if (IS_ERR(devmap))		return PTR_ERR(devmap);	use_diag = buf[0] == '1';	spin_lock(&dasd_devmap_lock);	/* Changing diag discipline flag is only allowed in offline state. */	rc = count;	if (!devmap->device) {		if (use_diag)			devmap->features |= DASD_FEATURE_USEDIAG;		else			devmap->features &= ~DASD_FEATURE_USEDIAG;	} else		rc = -EPERM;	spin_unlock(&dasd_devmap_lock);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/e404e274f62665f3333d6a539d0d3701f678a598/dasd_devmap.c/buggy/drivers/s390/block/dasd_devmap.c