diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-10-13 17:37:02 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-10-13 17:41:58 -0700 |
commit | 9f1da8242161ba684f2867f211eb7e9d4baa84bb (patch) | |
tree | e396bffdec4ef5915f4eb138f343809431042dc0 /mdadm.h | |
parent | b928b5a0384e7181425a282a0586cbbb3c85fbc3 (diff) | |
download | mdadm-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |