diff options
author | John Ogness <[email protected]> | 2020-11-26 12:54:36 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2020-11-27 11:58:54 +0100 |
commit | 4ad9921af4f18490980369f7d60f90ade0195812 (patch) | |
tree | 988e34d10be38b6c17d72a3cce05bc6dfd8abe5f /fs/jbd2/commit.c | |
parent | 8119c4332d253660e0a6b8748fe0749961cfbc97 (diff) |
printk: finalize records with trailing newlines
Any record with a trailing newline (LOG_NEWLINE flag) cannot
be continued because the newline has been stripped and will
not be visible if the message is appended. This was already
handled correctly when committing in log_output() but was
not handled correctly when committing in log_store().
Fixes: f5f022e53b87 ("printk: reimplement log_cont using record extension")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Kefeng Wang <[email protected]>
Signed-off-by: John Ogness <[email protected]>
Tested-by: Kefeng Wang <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions