null engine: fix queue bug with repeated commit() calls before event retrieval
authorJens Axboe <jens.axboe@oracle.com>
Fri, 9 Mar 2007 12:45:11 +0000 (13:45 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 9 Mar 2007 12:45:11 +0000 (13:45 +0100)
Don't return anything if min_events == 0. This exposed a bug in
the commit handler, it needs to add to ->events, not set it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found