Merge branch 'timers/urgent' into timers/core
Pick up urgent fixes to apply dependent cleanup patch
This commit is contained in:
@@ -592,13 +592,22 @@ static int _schedule_lcu_update(struct alias_lcu *lcu,
|
||||
int dasd_alias_add_device(struct dasd_device *device)
|
||||
{
|
||||
struct dasd_eckd_private *private = device->private;
|
||||
struct alias_lcu *lcu;
|
||||
__u8 uaddr = private->uid.real_unit_addr;
|
||||
struct alias_lcu *lcu = private->lcu;
|
||||
unsigned long flags;
|
||||
int rc;
|
||||
|
||||
lcu = private->lcu;
|
||||
rc = 0;
|
||||
spin_lock_irqsave(&lcu->lock, flags);
|
||||
/*
|
||||
* Check if device and lcu type differ. If so, the uac data may be
|
||||
* outdated and needs to be updated.
|
||||
*/
|
||||
if (private->uid.type != lcu->uac->unit[uaddr].ua_type) {
|
||||
lcu->flags |= UPDATE_PENDING;
|
||||
DBF_DEV_EVENT(DBF_WARNING, device, "%s",
|
||||
"uid type mismatch - trigger rescan");
|
||||
}
|
||||
if (!(lcu->flags & UPDATE_PENDING)) {
|
||||
rc = _add_device_to_lcu(lcu, device, device);
|
||||
if (rc)
|
||||
|
@@ -27,7 +27,6 @@
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/vtoc.h>
|
||||
#include <asm/diag.h>
|
||||
|
||||
#include "dasd_int.h"
|
||||
#include "dasd_diag.h"
|
||||
|
مرجع در شماره جدید
Block a user