commit | 5db9d4d18612bd5852bf663a40cf7bcf1ddc1b03 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Mon Sep 05 16:36:31 2011 -0300 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Thu Sep 15 16:39:32 2011 -0300 |
tree | 0e918a5f57979bd52f3e7467e562ee61babec1db | |
parent | f5bbfba1ebe8c877ebfe846fc1e73e90da423884 [diff] |
runstate_set(): Check for valid transitions This commit could have been folded with the previous one, however doing it separately will allow for easy bisect and revert if needed. Checking and testing all valid transitions wasn't trivial, chances are this will need broader testing to become more stable. This is a transition table as suggested by LluĂs Vilanova. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>