* [PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup
@ 2010-09-25 18:34 Tracey Dent
0 siblings, 0 replies; 2+ messages in thread
From: Tracey Dent @ 2010-09-25 18:34 UTC (permalink / raw)
To: tytso
Cc: adilger.kernel, jack, dmonakhov, sandeen, hch, linux-ext4,
linux-kernel, Tracey Dent, Tracey Dent
From: Tracey Dent <Tdent48227@gmail.com>
Fixed whitespace and indent issues that checkpatch.pl had an issue with
Signed-off-by: Tracey Dent <tdent48227@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
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue
@ 2010-09-25 18:31 Tracey Dent
2010-09-25 18:32 ` [PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup Tracey Dent
0 siblings, 1 reply; 2+ messages in thread
From: Tracey Dent @ 2010-09-25 18:31 UTC (permalink / raw)
To: tytso
Cc: adilger.kernel, jack, dmonakhov, sandeen, hch, linux-ext4,
linux-kernel, Tracey Dent, Tracey Dent
From: Tracey Dent <Tdent48227@gmail.com>
Found and corrected indent issue using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
fs/ext4/acl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c
index 5e2ed45..16d39e3 100644
--- a/fs/ext4/acl.c
+++ b/fs/ext4/acl.c
@@ -27,7 +27,7 @@ ext4_acl_from_disk(const void *value, size_t size)
if (!value)
return NULL;
if (size < sizeof(ext4_acl_header))
- return ERR_PTR(-EINVAL);
+ return ERR_PTR(-EINVAL);
if (((ext4_acl_header *)value)->a_version !=
cpu_to_le32(EXT4_ACL_VERSION))
return ERR_PTR(-EINVAL);
--
1.7.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup
2010-09-25 18:31 [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue Tracey Dent
@ 2010-09-25 18:32 ` Tracey Dent
0 siblings, 0 replies; 2+ messages in thread
From: Tracey Dent @ 2010-09-25 18:32 UTC (permalink / raw)
To: tytso
Cc: adilger.kernel, jack, dmonakhov, sandeen, hch, linux-ext4,
linux-kernel, Tracey Dent, Tracey Dent
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-25 18:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-25 18:34 [PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup Tracey Dent
-- strict thread matches above, loose matches on Subject: below --
2010-09-25 18:31 [PATCH 01/10] Fs: ext4: acl.c: fixed indent issue Tracey Dent
2010-09-25 18:32 ` [PATCH 09/10] Fs: ext4: mballoc.c: whitespace cleanup Tracey Dent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®