diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-20 09:55:52 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-09-25 15:24:14 +0200 |
commit | d4362d642e5cfd50671eba250b5888a89a88691a (patch) | |
tree | 31d59689cd4170c5a58ff9a9949bc8425ebe804b /blockdev.c | |
parent | 4f2280b2190e39aa6761cc8188626ed9aad350c1 (diff) |
blkdebug: show an error for invalid event names
It is easy to typo a blkdebug configuration and waste a lot of time
figuring out why no rules are matching.
Push the Error** down into add_rule() so we can report an error when the
event name is invalid.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions