commit | 7e5b58bcbcb3d7518389c1d82fb6e926f5a9f72c | [log] [tgz] |
---|---|---|
author | Kay Sievers <kay.sievers@vrfy.org> | Thu Apr 07 04:29:20 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Apr 19 16:59:58 2011 -0700 |
tree | a4096c1355beb0bfcdc9ea8bb041c3a7da1149b2 | |
parent | 47296b1962ead8301488f0dbe8424c7db7eac635 [diff] |
printk: /dev/kmsg - properly support writev() to avoid interleaved printk() lines printk: /dev/kmsg - properly support writev() to avoid interleaved printk lines We should avoid calling printk() in a loop, when we pass a single string to /dev/kmsg with writev(). Cc: Lennart Poettering <lennart@poettering.net> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>