aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/libata-sff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index b7f7f8557fee..c0a905438896 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -919,7 +919,7 @@ static void ata_pio_sector(struct ata_queued_cmd *qc)
919 do_write); 919 do_write);
920 } 920 }
921 921
922 if (!do_write) 922 if (!do_write && !PageSlab(page))
923 flush_dcache_page(page); 923 flush_dcache_page(page);
924 924
925 qc->curbytes += qc->sect_size; 925 qc->curbytes += qc->sect_size;