Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH[ log: Do not BUG_ON in log_first_err
It turned out that calling log_first_error() is possible w/o calling log_keep_first_err(), so don't bug_on() on it, just return NULL. Reported-by: Adrian Reber <adrian@lisas.de> Signed-off-by: Pavel Emelyanov <xemul@virtouzzo.com> Reviewed-by: Adrian Reber <adrian@lisas.de> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
- Loading branch information