diff options
author | NeilBrown <neilb@suse.de> | 2013-08-27 16:28:23 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-08-27 16:28:23 +1000 |
commit | 7a0a5355cbc71efa430c3730ffbd67ae04abfe31 (patch) | |
tree | 3e45ce8d666145ead0b859f402aa6fbf1f73f567 /drivers/ps3 | |
parent | c9ad020fec895bf1e5fcc322d0ab9e67efd3e3a0 (diff) |
md: Don't test all of mddev->flags at once.
mddev->flags is mostly used to record if an update of the
metadata is needed. Sometimes the whole field is tested
instead of just the important bits. This makes it difficult
to introduce more state bits.
So replace all bare tests of mddev->flags with tests for the bits
that actually need testing.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions