• S
    md: separate flags for superblock changes · 2953079c
    Shaohua Li 提交于
    The mddev->flags are used for different purposes. There are a lot of
    places we check/change the flags without masking unrelated flags, we
    could check/change unrelated flags. These usage are most for superblock
    write, so spearate superblock related flags. This should make the code
    clearer and also fix real bugs.
    Reviewed-by: NNeilBrown <neilb@suse.com>
    Signed-off-by: NShaohua Li <shli@fb.com>
    2953079c
md.h 23.8 KB