]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/md/bcache/request.c
bcache: Fix flash_dev_cache_miss() for real this time
authorKent Overstreet <kmo@daterainc.com>
Thu, 16 Jan 2014 23:04:18 +0000 (15:04 -0800)
committerKent Overstreet <kmo@daterainc.com>
Wed, 26 Feb 2014 02:41:11 +0000 (18:41 -0800)
commit1b4eaf3d3809a658c85911e92d9ff64086931efa
treeda491dc55af651888db6390f9a495f0c848f43c9
parent85cbe1f88cb189322e3e4ef98816c19ab12161ea
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 <kmo@daterainc.com>
drivers/md/bcache/request.c