Linus Arver <linusa@xxxxxxxxxx> writes: >> The real purpose of this function is to find the end of the log >> message, isn't it? > > Indeed. > ... > Right! So a better name might be something like > "find_trailer_search_boundary" with a comment like Or "find_end_of_log_message()", which we agreed to be the real purpose of this function ;-)