summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-10-13 17:37:02 -0700
committerDan Williams <dan.j.williams@intel.com>2009-10-13 17:41:58 -0700
commit9f1da8242161ba684f2867f211eb7e9d4baa84bb (patch)
treee396bffdec4ef5915f4eb138f343809431042dc0 /mdadm.h
parentb928b5a0384e7181425a282a0586cbbb3c85fbc3 (diff)
downloadmdadm-9f1da8242161ba684f2867f211eb7e9d4baa84bb.tar.gz
mdadm-9f1da8242161ba684f2867f211eb7e9d4baa84bb.tar.xz
mdadm-9f1da8242161ba684f2867f211eb7e9d4baa84bb.zip
mdmon: preserve socket over chroot
Connect to the monitor in the old namespace and use that connection for WaitClean requests when stopping the victim mdmon instance. This allows ping_monitor() to work post chroot(). Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index 8212a2c..ffa5f53 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -753,7 +753,7 @@ extern int Monitor(mddev_dev_t devlist,
extern int Kill(char *dev, int force, int quiet, int noexcl);
extern int Wait(char *dev);
-extern int WaitClean(char *dev, int verbose);
+extern int WaitClean(char *dev, int sock, int verbose);
extern int Incremental(char *devname, int verbose, int runstop,
struct supertype *st, char *homehost, int require_homehost,