block: Another flush_dcache_page() fixup
authorKent Overstreet <kmo@daterainc.com>
Thu, 31 Oct 2013 21:39:20 +0000 (14:39 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Nov 2013 15:01:54 +0000 (09:01 -0600)
commite67f9c9b6aa0cb3229586ef9b1d33987adc3c3e6
tree5e5766558539f799c530b2136cfa913f50949f1e
parenta7984f893c3b4333eb70272e80b9cfd0c5d6fe60
block: Another flush_dcache_page() fixup

The bio_for_each_segment() conversion was incomplete - on archs without
ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE this code compiled fine, but on the rest:

   drivers/block/rbd.c: In function 'zero_bio_chain':
>> drivers/block/rbd.c:1125:5: error: invalid type argument of '->' (have >> 'struct bio_vec')

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rbd.c