summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-07-18 16:37:04 +1000
committerNeil Brown <neilb@suse.de>2008-07-18 16:37:04 +1000
commit103f2410ec581620367d6fde67a3a62f077062a7 (patch)
tree58158ae3ffb0110bda6696401066fcb11d1cdbb4 /monitor.c
parent120f767760a7a4a5c6d605eec91d3cec4ebc32a1 (diff)
downloadmdadm-103f2410ec581620367d6fde67a3a62f077062a7.tar.gz
mdadm-103f2410ec581620367d6fde67a3a62f077062a7.tar.xz
mdadm-103f2410ec581620367d6fde67a3a62f077062a7.zip
Make sure resync_start is initialised properly and maintained properly
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index d6b1fbe..3148896 100644
--- a/monitor.c
+++ b/monitor.c
@@ -48,7 +48,7 @@ static int read_attr(char *buf, int len, int fd)
}
-static int get_resync_start(struct active_array *a)
+int get_resync_start(struct active_array *a)
{
char buf[30];
int n;