"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "drivers/s390/block/dasd_alias.c" between
linux-3.16.62.tar.xz and linux-3.16.63.tar.xz

About: The full source of the Linux kernel 3.16.x (longterm stable)

dasd_alias.c  (linux-3.16.62.tar.xz):dasd_alias.c  (linux-3.16.63.tar.xz)
skipping to change at line 609 skipping to change at line 609
return -EINVAL; return -EINVAL;
dasd_get_device(usedev); dasd_get_device(usedev);
lcu->ruac_data.device = usedev; lcu->ruac_data.device = usedev;
if (!schedule_delayed_work(&lcu->ruac_data.dwork, 0)) if (!schedule_delayed_work(&lcu->ruac_data.dwork, 0))
dasd_put_device(usedev); dasd_put_device(usedev);
return 0; return 0;
} }
int dasd_alias_add_device(struct dasd_device *device) int dasd_alias_add_device(struct dasd_device *device)
{ {
struct dasd_eckd_private *private = device->private; struct dasd_eckd_private *private =
(struct dasd_eckd_private *)device->private;
__u8 uaddr = private->uid.real_unit_addr; __u8 uaddr = private->uid.real_unit_addr;
struct alias_lcu *lcu = private->lcu; struct alias_lcu *lcu = private->lcu;
unsigned long flags; unsigned long flags;
int rc; int rc;
rc = 0; rc = 0;
/* need to take cdev lock before lcu lock */ /* need to take cdev lock before lcu lock */
spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags); spin_lock_irqsave(get_ccwdev_lock(device->cdev), flags);
spin_lock(&lcu->lock); spin_lock(&lcu->lock);
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)