diff options
author | Shaohua Li <shli@fb.com> | 2017-01-05 01:10:19 +0100 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-01-05 20:45:18 +0100 |
commit | 394ed8e4743b0cfc5496fe49059fbfc2bc8eae35 (patch) | |
tree | 65412c7b017be0fc1a2316f4a0778328421a0f4c /certs | |
parent | md/r5cache: fix spelling mistake on "recoverying" (diff) | |
download | linux-394ed8e4743b0cfc5496fe49059fbfc2bc8eae35.tar.xz linux-394ed8e4743b0cfc5496fe49059fbfc2bc8eae35.zip |
md: cleanup mddev flag clear for takeover
Commit 6995f0b (md: takeover should clear unrelated bits) clear
unrelated bits, but it's quite fragile. To avoid error in the future,
define a macro for unsupported mddev flags for each raid type and use it
to clear unsupported mddev flags. This should be less error-prone.
Suggested-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions