diff options
author | NeilBrown <neilb@suse.com> | 2016-11-30 09:02:11 +1100 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-11-29 17:12:13 -0500 |
commit | e22fe3ae15901d723aa6a0d319cd18564156c50b (patch) | |
tree | 7311d646a0a6dc72571b6816fb10669c0f3bc2b5 /dlink.c | |
parent | 42d902d9db0874933d23b9735d76427b0ee23828 (diff) | |
download | mdadm-e22fe3ae15901d723aa6a0d319cd18564156c50b.tar.gz |
Introduce enum flag_mode for setting and clearing flags.
We currently use '1' to indicate that a flag (writemostly or failfast)
needs to be set, and '2' to indicate that it needs to be cleared.
Using magic number like this is not a best-practice.
So replaced them with values from a enum.
No functional change.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'dlink.c')
0 files changed, 0 insertions, 0 deletions