commit | f2e06c58841b3e89eaacfa88ce14389d311c54a8 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed May 28 13:39:23 2014 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu May 29 16:59:47 2014 +1000 |
tree | 34ca8dd597489694c289d0da7a007b14adbe3be1 | |
parent | cf170f3fa451350e431314e1a0a52014fda4b2d6 [diff] |
md/bitmap: remove confusing code from filemap_get_page. file_page_index(store, 0) is *always* 0. This is because the bitmap sb, at 256 bytes, is *always* less than one page. So subtracting it has no effect and the code should be removed. Reported-by: Goldwyn Rodrigues <rgoldwyn@suse.de> Signed-off-by: NeilBrown <neilb@suse.de>