summaryrefslogtreecommitdiffstats
path: root/probe_roms.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-02-24 18:45:57 -0700
committerDan Williams <dan.j.williams@intel.com>2009-02-24 18:45:57 -0700
commit140d3685fbe10c4cbb6afb2ccde820a49903d982 (patch)
treec201be2d09841aa9e67dc53de6c4c019c716253e /probe_roms.c
parentefb30e7f1ed59e4f5da95c96a76080ea75b876f9 (diff)
downloadmdadm-140d3685fbe10c4cbb6afb2ccde820a49903d982.tar.gz
mdadm-140d3685fbe10c4cbb6afb2ccde820a49903d982.tar.xz
mdadm-140d3685fbe10c4cbb6afb2ccde820a49903d982.zip
mdmon: fix missed 'clean' event
mdmon may miss events because it re-reads state after read_and_act. The additional read is used to determine dirty status before allowing a sigterm to proceed. Since read_and_act is in the best position to determine 'dirty' status and its return value is not used, modify it to return true if the array is dirty. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'probe_roms.c')
0 files changed, 0 insertions, 0 deletions