]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdmon: allow --takeover when original was started with --offroot
authorNeilBrown <neilb@suse.de>
Mon, 20 Aug 2012 00:37:21 +0000 (10:37 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 27 Sep 2012 06:57:43 +0000 (16:57 +1000)
commitc4e96a305fbca4f83ae9f3a81482481524380905
tree58964e396a9bab602fa5b7a400e2b067b022029b
parent23084aaa76d9fc3121ff2ab38c04ee9893793e00
mdmon: allow --takeover when original was started with --offroot

As --offroot causes ARGV[0] to be changed, we need to be more
lenient when checking that the mdmon we are about to kill really
is mdmon.  i.e. allow name to be "@dmon" instead.

Signed-off-by: NeilBrown <neilb@suse.de>
mdmon.c