Skip to content
Snippets Groups Projects
Commit e287308b authored by Zhen Lei's avatar Zhen Lei Committed by Song Liu
Browse files

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: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent 38912584
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment