On Thu, Oct 27, 2016 at 05:52:53PM +0200, Petr Mladek wrote: > The commit 4bcc595ccd80decb4245096e ("printk: reinstate KERN_CONT for > printing continuation lines") allows to define more message headers > for a single message. The motivation is that continuous lines might > get mixed. Therefore it make sense to define the right log level > for every piece of a cont line. > > The current btrfs_printk() macros do not support continuous lines at > the moment. But better be prepared for a custom messages and avoid > potential "lvl" buffer overflow.
I don't think we'll want to support continued lines. The macros just print additional information about the filesystem and the message is supposed to be on one line. If there's multi-line string, the raw printk calls are used (and currently only for debugging purposes). Acked-by: David Sterba <dste...@suse.com>