From: Kent Overstreet Date: Thu, 16 Jan 2014 23:04:18 +0000 (-0800) Subject: bcache: Fix flash_dev_cache_miss() for real this time X-Git-Tag: v3.15-rc1~134^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b4eaf3d3809a658c85911e92d9ff64086931efa;p=pandora-kernel.git bcache: Fix flash_dev_cache_miss() for real this time The code was using sectors to count the number of sectors it was zeroing... but then it passed it to bio_advance()... after it had been set to 0. Amusing... Signed-off-by: Kent Overstreet --- Reading git-diff-tree failed