]> git.baikalelectronics.ru Git - kernel.git/commit
MD: not clear ->safemode for external metadata array
authorShaohua Li <shli@fb.com>
Sat, 12 Aug 2017 03:34:45 +0000 (20:34 -0700)
committerShaohua Li <shli@fb.com>
Sat, 12 Aug 2017 03:42:06 +0000 (20:42 -0700)
commit755a128fe3daf20d8748754a0e99f383ea1b953d
tree6db36809235796c74f28061ff7690e49ea44530f
parentae0cea5cb237e8242fe27f17ab0a25b00a0478cb
MD: not clear ->safemode for external metadata array

->safemode should be triggered by mdadm for external metadaa array, otherwise
array's state confuses mdadm.

Fixes: 3a6cf6aaba61(md: always clear ->safemode when md_check_recovery gets the mddev lock.)
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c