]> 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)
commitcc4d6c0cf9c3338accd8d1790be427047a2ac3f5
tree21631162d46575db6645636d1c18b8797247d0c9
parente3267e7e4157257bb33de8107d698bb8be51d61f
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