[systemd-devel] [PATCH] journal: Fix navigating backwards missing entries

Lennart Poettering lennart at poettering.net
Mon Dec 8 10:23:58 PST 2014


On Fri, 05.12.14 16:06, Olivier Brunel (jjk at jjacky.com) wrote:

> With DIRECTION_UP (i.e. navigating backwards) in generic_array_bisect() when the
> needle was found as the last item in the array, it wasn't actually processed as
> match, resulting in entries being missed.
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=86855
> ---
> This was a good excuse for me to dive in and learn about journal's internals,
> but someone with actual knowledge of said internals should review this, in case
> I missed something.

Patch looks correct! Thanks a ton for tracking this down! Much
appreciated!

Applied!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list