]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7af6d3c0a91d8ce54406b11353dcdd2a2fa7227c
treeda491dc55af651888db6390f9a495f0c848f43c9
parent3e4575f7bfcadb60c8f774dceb2ef9bb07bb6c43
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