diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-02-10 23:50:05 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-19 15:18:18 -0600 |
commit | bb89c2e901b1a0c1cb6b94392cae1f98e6660ed7 (patch) | |
tree | 6ed4a75ed3535aeb2c5dd907b9b5609aaade533d /async.c | |
parent | b8b08266bd58d26e9c6b529ab4130c13eaed3406 (diff) |
Monitor: Audit handler return
This commit verifies the following two rules specified by
Markus Armbruster:
1. If the handler returns failure, it must have passed an error.
If it didn't, it's broken. Report an internal error to the client,
and report the bug to the programmer.
2. If the handler returns success, it must not have passed an error.
If it did, it's broken. Report the error to the client, and report
the bug to the programmer.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions