commit | 81088819d588ba4d2dce3bf083fafc91974b14e0 | [log] [tgz] |
---|---|---|
author | Frank Munzert <munzert@de.ibm.com> | Tue Jul 07 16:37:07 2009 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Jul 07 16:37:52 2009 +0200 |
tree | 1b94bccf932dedeccaea29c6fea4d30d44b463d4 | |
parent | aeec92ca3a1d5ca96efe76988fd4df943a90300d [diff] |
[S390] shutdown actions: save/return rc from init function We always returned -EINVAL when setting of a shutdown action failed. This was misleading, if for example the hardware did not support the shutdown action. Now we save each shutdown action's init return code and return it when the action is being set. Signed-off-by: Frank Munzert <munzert@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>