All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/5] ext2: dir.c: Merge string literals on adjacent lines
@ 2014-07-22 17:58 Artemiy Volkov
  0 siblings, 0 replies; only message in thread
From: Artemiy Volkov @ 2014-07-22 17:58 UTC (permalink / raw)
  To: kernel-janitors

This patch joins lines and merges quoted strings in dir.c, for use of grep-ability.

Signed-off-by: Artemiy Volkov <artemiyv@acm.org>
---
 fs/ext2/dir.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c
index 6e1d4ab..6ab6a68 100644
--- a/fs/ext2/dir.c
+++ b/fs/ext2/dir.c
@@ -160,8 +160,8 @@ out:
 Ebadsize:
 	if (!quiet)
 		ext2_error(sb, __func__,
-			"size of directory #%lu is not a multiple "
-			"of chunk size", dir->i_ino);
+			"size of directory #%lu is not a multiple of chunk size",
+			dir->i_ino);
 	goto fail;
 Eshort:
 	error = "rec_len is smaller than minimal";
@@ -179,8 +179,8 @@ Einumber:
 	error = "inode out of bounds";
 bad_entry:
 	if (!quiet)
-		ext2_error(sb, __func__, "bad entry in directory #%lu: : %s - "
-			"offset=%lu, inode=%lu, rec_len=%d, name_len=%d",
+		ext2_error(sb, __func__,
+			"bad entry in directory #%lu: : %s - offset=%lu, inode=%lu, rec_len=%d, name_len=%d",
 			dir->i_ino, error, (page->index<<PAGE_CACHE_SHIFT)+offs,
 			(unsigned long) le32_to_cpu(p->inode),
 			rec_len, p->name_len);
@@ -189,8 +189,7 @@ Eend:
 	if (!quiet) {
 		p = (ext2_dirent *)(kaddr + offs);
 		ext2_error(sb, "ext2_check_page",
-			"entry in directory #%lu spans the page boundary"
-			"offset=%lu, inode=%lu",
+			"entry in directory #%lu spans the page boundary offset=%lu, inode=%lu",
 			dir->i_ino, (page->index<<PAGE_CACHE_SHIFT)+offs,
 			(unsigned long) le32_to_cpu(p->inode));
 	}
-- 
1.9.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-22 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 17:58 [PATCH 3/5] ext2: dir.c: Merge string literals on adjacent lines Artemiy Volkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.