libata: don't flush dcache on slab pages
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 21 Mar 2010 21:52:23 +0000 (22:52 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 May 2010 21:50:05 +0000 (17:50 -0400)
commit3842e835490cdf17013b30a788f6311bdcfd0571
tree8468746d8f024d262fc53a7972f184792367b201
parent276a47a93dbfe5d35261451925020f65cdbfcce8
libata: don't flush dcache on slab pages

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@breakpoint.cc>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: stable@kernel.org
drivers/ata/libata-sff.c