commit | 242ea5ad11a03f2fbdfc2fe422d8e1b0601a8073 | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Sat Dec 02 01:03:54 2017 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Dec 08 10:59:58 2017 -0500 |
tree | 7b92016cfccb3dc9cba6f92c42626eff3193003a | |
parent | 67143510a7e3634a23f06a48445d1148b2fdbc4d [diff] |
dm raid: avoid passing array_in_sync variable to raid_status() callees The raid_status() function passes the bool array_in_sync variable around providing synchronization state of the MD array. Replace it with a runtime flag. This will avoid a pattern of having to pass discrete variables to various functions. Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>