projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d238e0
)
[PATCH] libata: Fix sector lock to apply to both drives not drive 0 twice
author
Alan Cox
<alan@lxorguk.ukuu.org.uk>
Tue, 17 Jan 2006 20:51:55 +0000
(20:51 +0000)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 18 Jan 2006 00:37:45 +0000
(19:37 -0500)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libata-core.c
b/drivers/scsi/libata-core.c
index e6044455ca4533c33c88a2d95c516510a0685dc9..0a2936a140c8b32c2b0a673518e03f7ac74609f1 100644
(file)
--- a/
drivers/scsi/libata-core.c
+++ b/
drivers/scsi/libata-core.c
@@
-1456,7
+1456,7
@@
void ata_dev_config(struct ata_port *ap, unsigned int i)
ap->udma_mask &= ATA_UDMA5;
ap->host->max_sectors = ATA_MAX_SECTORS;
ap->host->hostt->max_sectors = ATA_MAX_SECTORS;
- ap->device
->
flags |= ATA_DFLAG_LOCK_SECTORS;
+ ap->device
[i].
flags |= ATA_DFLAG_LOCK_SECTORS;
}
if (ap->ops->dev_config)