summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libata-scsi.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-02-28 04:31:19 +0100
committerJeff Garzik <jeff@garzik.org>2006-02-28 04:31:19 +0100
commitc3c013a2c218cdede2d2e73df01ed4f813538941 (patch)
tree1e7bfa4c687bb54fd328f06ac141937de1bb0470 /drivers/scsi/libata-scsi.c
parentMerge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff)
downloadlinux-c3c013a2c218cdede2d2e73df01ed4f813538941.tar.xz
linux-c3c013a2c218cdede2d2e73df01ed4f813538941.zip
[libata] Disable FUA
Until problems are sorted.
Diffstat (limited to 'drivers/scsi/libata-scsi.c')
-rw-r--r--drivers/scsi/libata-scsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libata-scsi.c b/drivers/scsi/libata-scsi.c
index 07b1e7cc61df..59503c9ccac9 100644
--- a/drivers/scsi/libata-scsi.c
+++ b/drivers/scsi/libata-scsi.c
@@ -1708,6 +1708,8 @@ static int ata_dev_supports_fua(u16 *id)
{
unsigned char model[41], fw[9];
+ if (!libata_fua)
+ return 0;
if (!ata_id_has_fua(id))
return 0;