mars/userspace
Daniel Hermann 4dafa9467a marsadm: use actual primary where appropriate instead of target primary
The actual primary is decoded in 'actual-*/is-primary' links, while the
target primary is decoded in the 'primary' link.  This is not clearly
taken into account in several functions of marsadm.  This commit fixes
this problem.

- Added _get_actual_primary() function
- Remove $pri parameter in _primary_res
- Use _get_actual_primary() where actual state should be used

Commits 3e96a5e 578d003 5dccbdc rebased to dfeb8e6

Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>
2013-04-11 11:01:25 +02:00
..
mars-status light: new systematics for emergency modes (filesystem full) 2013-04-08 17:02:57 +02:00
mars-status.8 update manpages 2013-01-23 20:06:56 +01:00
marsadm marsadm: use actual primary where appropriate instead of target primary 2013-04-11 11:01:25 +02:00
marsadm.8 update manpages 2013-01-23 20:06:56 +01:00