]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdmon.c
mdmon: exec(2) when the switchroot argument is not "/"
authorDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:08:33 +0000 (17:08 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:41:58 +0000 (17:41 -0700)
commitb928b5a0384e7181425a282a0586cbbb3c85fbc3
tree38d0603c2cdbcac85000076c2a8c05994c17f6e1
parent96a8270d46faab599b41f1cf78b4331b44c5a6be
mdmon: exec(2) when the switchroot argument is not "/"

Try to execute mdmon from the target namespace.  When used for initramfs
handovers we need to drop all references to the initramfs filesystem for
that memory to be freed.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
mdmon.c