From: Greg KH on
2.6.34-stable review patch. If anyone has any objections, please let me know.


From: Sebastian Andrzej Siewior <sebastian(a)>

commit 3842e835490cdf17013b30a788f6311bdcfd0571 upstream.

page_mapping() check this via VM_BUG_ON(PageSlab(page)) so we bug here
with the according debuging turned on.

Future TODO: replace this with a flush_dcache_page_for_pio() API

Signed-off-by: Sebastian Andrzej Siewior <sebastian(a)>
Signed-off-by: Jeff Garzik <jgarzik(a)>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)>

drivers/ata/libata-sff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -894,7 +894,7 @@ static void ata_pio_sector(struct ata_qu

- if (!do_write)
+ if (!do_write && !PageSlab(page))

qc->curbytes += qc->sect_size;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at