]> git.baikalelectronics.ru Git - kernel.git/commit
md/bitmap: discard CHUNK_BLOCK_SHIFT macro
authorNeilBrown <neilb@suse.de>
Mon, 19 Mar 2012 01:46:41 +0000 (12:46 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 19 Mar 2012 01:46:41 +0000 (12:46 +1100)
commit44598cdd35f022635f738f208f4216fca3ad98e4
tree21631162d46575db6645636d1c18b8797247d0c9
parentbeb3202d929f1efca94c11ffc37d0410f3c934e4
md/bitmap: discard CHUNK_BLOCK_SHIFT macro

Be redefining ->chunkshift as the shift from sectors to chunks rather
than bytes to chunks, we can just use "bitmap->chunkshift" which is
shorter than the macro call, and less indirect.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c
drivers/md/bitmap.h