ocfs2: neaten do_error, ocfs2_error and ocfs2_abort
These uses sometimes do and sometimes don't have '\n' terminations. Make the uses consistently use '\n' terminations and remove the newline from the functions. Miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches <joe@perches.com> Reviewed-by: Mark Fasheh <mfasheh@suse.de> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
@@ -2600,7 +2600,7 @@ int __ocfs2_error(struct super_block *sb, const char *function,
|
||||
|
||||
/* Not using mlog here because we want to show the actual
|
||||
* function the error came from. */
|
||||
printk(KERN_CRIT "OCFS2: ERROR (device %s): %s: %pV\n",
|
||||
printk(KERN_CRIT "OCFS2: ERROR (device %s): %s: %pV",
|
||||
sb->s_id, function, &vaf);
|
||||
|
||||
va_end(args);
|
||||
@@ -2622,7 +2622,7 @@ void __ocfs2_abort(struct super_block *sb, const char *function,
|
||||
vaf.fmt = fmt;
|
||||
vaf.va = &args;
|
||||
|
||||
printk(KERN_CRIT "OCFS2: abort (device %s): %s: %pV\n",
|
||||
printk(KERN_CRIT "OCFS2: abort (device %s): %s: %pV",
|
||||
sb->s_id, function, &vaf);
|
||||
|
||||
va_end(args);
|
||||
|
Reference in New Issue
Block a user