summaryrefslogtreecommitdiff
path: root/drivers/md/raid0.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2020-08-21 09:29:18 +0800
committerSong Liu <songliubraving@fb.com>2020-09-24 16:44:45 -0700
commite287308b8388590ad70e8e88d1cc70a4643bacd7 (patch)
tree1f85ecc3f9cee7ec32d73de5042f8f43349c8ba0 /drivers/md/raid0.c
parent389125844352c784abf8c186589343466d03cd6a (diff)
md: Simplify code with existing definition RESYNC_SECTORS in raid10.c
#define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9) "RESYNC_BLOCK_SIZE/512" is equal to "RESYNC_BLOCK_SIZE >> 9", replace it with RESYNC_SECTORS. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/raid0.c')
0 files changed, 0 insertions, 0 deletions