+2
−2
+2
−2
+59
−56
+9
−7
+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:NeilBrown <neilb@suse.com> Signed-off-by:
Shaohua Li <shli@fb.com>