run_action(): factor out vps_set()

The code handling ACTION_SET in run_action() become too big
and hairy, let's move it out to a separate function.

This is just a copy-paste, except s/break/return ret/
because we're no longer inside a switch statement.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed