summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorJoe Perches2015-09-05 00:44:51 +0200
committerLinus Torvalds2015-09-05 01:54:41 +0200
commit7ecef14ab1db961545354fa443749aeda2ea1b75 (patch)
tree6e9917cfbce394cddd3b67dd90f3287c89d838ea /fs/ocfs2/journal.c
parentocfs2: do not set fs read-only if rec[0] is empty while committing truncate (diff)
downloadkernel-qcow2-linux-7ecef14ab1db961545354fa443749aeda2ea1b75.tar.gz
kernel-qcow2-linux-7ecef14ab1db961545354fa443749aeda2ea1b75.tar.xz
kernel-qcow2-linux-7ecef14ab1db961545354fa443749aeda2ea1b75.zip
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>
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r--fs/ocfs2/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 52948af646b6..ff82b28462a6 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -374,7 +374,7 @@ handle_t *ocfs2_start_trans(struct ocfs2_super *osb, int max_buffs)
mlog_errno(PTR_ERR(handle));
if (is_journal_aborted(journal)) {
- ocfs2_abort(osb->sb, "Detected aborted journal");
+ ocfs2_abort(osb->sb, "Detected aborted journal\n");
handle = ERR_PTR(-EROFS);
}
} else {