md: move two macros into md.h
authorMing Lei <tom.leiming@gmail.com>
Thu, 16 Mar 2017 16:12:23 +0000 (00:12 +0800)
committerShaohua Li <shli@fb.com>
Fri, 24 Mar 2017 17:41:36 +0000 (10:41 -0700)
commitd8e29fbc3bed181f2653fb89ac8c34e40db39c30
tree99e57ef739035372a6dbbcbe06c55e3aec63cfd1
parentc85ba149de4bd14aa028ac824f9f12aeded28b86
md: move two macros into md.h

Both raid1 and raid10 share common resync
block size and page count, so move them into md.h.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.h
drivers/md/raid1.c
drivers/md/raid10.c