[PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tracey Dent
Date: Saturday, September 25, 2010 - 11:32 am

From: Tracey Dent <Tdent48227@gmail.com>

Fixed whitespace and indent issues that checkpatch.pl had an issue with

Signed-off-by: Tracey Dent <tden48227@gmail.com>
---
 fs/ext4/mballoc.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 4b4ad4b..0bc545c 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2410,9 +2410,9 @@ int ext4_mb_init(struct super_block *sb, int needs_recovery)
 	i = (sb->s_blocksize_bits + 2) * sizeof(*sbi->s_mb_offsets);
 
 	sbi->s_mb_offsets = kmalloc(i, GFP_KERNEL);
-	if (sbi->s_mb_offsets == NULL) {
+	if (sbi->s_mb_offsets == NULL) 
 		return -ENOMEM;
-	}
+	
 
 	i = (sb->s_blocksize_bits + 2) * sizeof(*sbi->s_mb_maxs);
 	sbi->s_mb_maxs = kmalloc(i, GFP_KERNEL);
@@ -3908,7 +3908,7 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
 			(int)ac->ac_criteria);
 	printk(KERN_ERR "EXT4-fs: %lu scanned, %d found\n", ac->ac_ex_scanned,
 		ac->ac_found);
-	printk(KERN_ERR "EXT4-fs: groups: \n");
+	printk(KERN_ERR "EXT4-fs: groups:\n");
 	ngroups = ext4_get_groups_count(sb);
 	for (i = 0; i < ngroups; i++) {
 		struct ext4_group_info *grp = ext4_get_group_info(sb, i);
@@ -3923,14 +3923,14 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
 			ext4_get_group_no_and_offset(sb, pa->pa_pstart,
 						     NULL, &start);
 			spin_unlock(&pa->pa_lock);
-			printk(KERN_ERR "PA:%u:%d:%u \n", i,
+			printk(KERN_ERR "PA:%u:%d:%u\n", i,
 			       start, pa->pa_len);
 		}
 		ext4_unlock_group(sb, i);
 
 		if (grp->bb_free == 0)
 			continue;
-		printk(KERN_ERR "%u: %d/%d \n",
+		printk(KERN_ERR "%u: %d/%d\n",
 		       i, grp->bb_free, grp->bb_fragments);
 	}
 	printk(KERN_ERR "\n");
-- 
1.7.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Tracey Dent, (Sat Sep 25, 11:31 am)
[PATCH 02/10] Fs: ext4: acl.h: whitespace cleanup, Tracey Dent, (Sat Sep 25, 11:31 am)
[PATCH 06/10] Fs: ext4: extents: whitespace cleanup, Tracey Dent, (Sat Sep 25, 11:31 am)
[PATCH 07/10] Fs: ext4: file: fixed indent problem, Tracey Dent, (Sat Sep 25, 11:31 am)
[PATCH 08/10] Fs: ext4: ioctl: fixed spacing issue, Tracey Dent, (Sat Sep 25, 11:31 am)
[PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup, Tracey Dent, (Sat Sep 25, 11:32 am)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Christoph Hellwig, (Sat Sep 25, 4:36 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Christoph Hellwig, (Sat Sep 25, 4:56 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 5:06 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 5:09 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 5:50 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 5:58 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 6:32 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 7:03 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 7:29 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 7:45 pm)
Re: [PATCH 02/10] Fs: ext4: acl.h: whitespace cleanup, Krzysztof Halasa, (Sat Sep 25, 11:11 pm)
Re: [PATCH 05/10] Fs: ext4: ext4: cleaned up the file with ..., Krzysztof Halasa, (Sat Sep 25, 11:23 pm)
Re: [PATCH 10/10] Fs: ext4: namei: fixed file of checkpatc ..., Krzysztof Halasa, (Sat Sep 25, 11:36 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Krzysztof Halasa, (Sat Sep 25, 11:42 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sat Sep 25, 11:49 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Krzysztof Halasa, (Sun Sep 26, 4:31 am)
Re: [PATCH 10/10] Fs: ext4: namei: fixed file of checkpatc ..., Krzysztof Halasa, (Sun Sep 26, 12:17 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Christoph Hellwig, (Sun Sep 26, 1:06 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Joe Perches, (Sun Sep 26, 3:17 pm)
Re: [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue, Eric Sandeen, (Mon Sep 27, 6:52 am)