diff options
author | Lidong Zhong <lzhong@suse.com> | 2017-06-12 04:45:55 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-06-16 21:04:09 +0200 |
commit | 8df72024393cdba2543e55d51297f2b2c4ede46f (patch) | |
tree | ef9669ec976e9687f62cebeb4e1113060e3a4cce /arch | |
parent | md/raid1: remove unused bio in sync_request_write (diff) | |
download | linux-8df72024393cdba2543e55d51297f2b2c4ede46f.tar.xz linux-8df72024393cdba2543e55d51297f2b2c4ede46f.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions