]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit61a0d80ce4ab5b4fb9ecb38f1fb19654778b71ed
tree21631162d46575db6645636d1c18b8797247d0c9
parent792a1d4bbf960000f066358f0a8c6e769c8c72bc
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