Reiser4: fix dmesg output
cover Reiser4: fix dmesg output
Here are 2 trivial patches to fix some glitches in kernel log.
Please apply.
--
laurent
PATCH 1/2 Reiser4: Fix double insertion of loglevel in printk calls
DCALL used to insert loglevel twice in the string sent to printk.
Signed-off-by Laurent Riffard <[email protected]>
fs/reiser4/debug.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
fs/reiser4/debug.h +2 -2
@@ -16,8 +16,8 @@ ({ \/* reiser4_print_prefix(lev, reperr, label,*/ \/* __FUNCTION__, __FILE__, __LINE__);*/ \ -fun (lev"%sreiser4[%.16s(%i)]: %s (%s:%i)[%s]:\n" format"\n" , \ - lev, current->comm, current->pid, __FUNCTION__, \ +fun (lev"reiser4[%.16s(%i)]: %s (%s:%i)[%s]:\n" format"\n" , \ + current->comm, current->pid, __FUNCTION__, \ __FILE__, __LINE__, label, ## __VA_ARGS__); \ })
--
PATCH 2/2 Reiser4: Remove printing of useless blank line in dmesg
In reply to Laurent RiffardThis patch removes printing of a useless blank line in dmesg.
Signed-off-by Laurent Riffard <[email protected]>
fs/reiser4/wander.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
fs/reiser4/wander.c +1 -1
@@ -231,7 +231,7 @@ static inline int reiser4_use_write_barrstatic void disable_write_barrier (struct super_block * s) {notice ("zam-1055" ,"%s does not support write barriers," -" using synchronous write instead.\n" , s->s_id); +" using synchronous write instead." , s->s_id);set_bit ((int )REISER4_NO_WRITE_BARRIER , &get_super_private (s)->fs_flags); }
--