Skip to content
Commit 8df72024 authored by Lidong Zhong's avatar Lidong Zhong Committed by Shaohua Li
Browse files

md: change the initialization value for a spare device spot to MD_DISK_ROLE_SPARE



The value for spare spot of sb->dev_roles is changed from
MD_DISK_ROLE_FAULTY to MD_DISK_ROLE_SPARE to keep align
with the value when the superblock is firstly created in
userspace.

Signed-off-by: default avatarLidong Zhong <lzhong@suse.com>
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 037d2ff6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment