Re: [PATCH 3/8] libata: factor out ata_eh_schedule_probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bartlomiej Zolnierkiewicz wrote:
>> -			if (!ata_dev_enabled(dev) &&
>> -			    ((ehc->i.probe_mask & (1 << dev->devno)) &&
>> -			     !(ehc->did_probe_mask & (1 << dev->devno)))) {
>> -				ata_eh_detach_dev(dev);
>> -				ata_dev_init(dev);
>> -				ehc->did_probe_mask |= (1 << dev->devno);
>> -				ehc->i.action |= ATA_EH_SOFTRESET;
>> -			}
>> +			/* schedule probe if necessary */
>> +			ata_eh_schedule_probe(dev);
> 
> !ata_dev_enabled() got lost, is this intended?

Definitely not.  Thanks a lot for catching this.  Jeff, I'll post an
updated version.  Thanks.

-- 
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux