commit | 8df72024393cdba2543e55d51297f2b2c4ede46f | [log] [tgz] |
---|---|---|
author | Lidong Zhong <lzhong@suse.com> | Mon Jun 12 10:45:55 2017 +0800 |
committer | Shaohua Li <shli@fb.com> | Fri Jun 16 12:04:09 2017 -0700 |
tree | ef9669ec976e9687f62cebeb4e1113060e3a4cce | |
parent | 037d2ff62cbfd3adf634553fbc25c9af7c25a702 [diff] |
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: Lidong Zhong <lzhong@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>