[PATCH] UDF: code style fixup v3

Previous thread: sysfs_readdir patch for 2.6.16.53 by Miloslav Semler on Friday, September 21, 2007 - 1:31 pm. (2 messages)

Next thread: x86_64: potential critical issue with quicklists and page table pages by Siddha, Suresh B on Friday, September 21, 2007 - 2:07 pm. (18 messages)
To: Andrew Morton <akpm@...>, Jan Kara <jack@...>
Cc: LKML <linux-kernel@...>
Date: Friday, September 21, 2007 - 1:35 pm

This patch does additional coding style fixup. Initially the
code is being distorted by Lindent (in my patches sent not very
long ago) and fixed in the followup patches but this stuff was
accidently missed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---

New and old compiled files were compared with cmp to check
for being identically. So the patch will not break the kernel.

Jan, could you please check super.c at line 770 (on current UDF tree)?
I've made a special note there with my prev. patches. I think this 'return'
case does look strange a bit.

fs/udf/super.c | 51 +++++++++++++++++++--------------------------------
fs/udf/udftime.c | 5 ++---
2 files changed, 21 insertions(+), 35 deletions(-)

diff --git a/fs/udf/super.c b/fs/udf/super.c
index c68a6e7..4d4047c 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -913,8 +913,7 @@ static int udf_load_partdesc(struct super_block *sb, struct buffer_head *bh)
UDF_SB_PARTMAPS(sb)[i].s_uspace.s_table =
udf_iget(sb, loc);
if (!UDF_SB_PARTMAPS(sb)[i].s_uspace.s_table) {
- udf_debug("cannot load unallocSpaceTable (part %d)\n",
- i);
+ udf_debug("cannot load unallocSpaceTable (part %d)\n", i);
return 1;
}
UDF_SB_PARTFLAGS(sb,i) |= UDF_PART_FLAG_UNALLOC_TABLE;
@@ -944,8 +943,7 @@ static int udf_load_partdesc(struct super_block *sb, struct buffer_head *bh)
UDF_SB_PARTMAPS(sb)[i].s_fspace.s_table =
udf_iget(sb, loc);
if (!UDF_SB_PARTMAPS(sb)[i].s_fspace.s_table) {
- udf_debug("cannot load freedSpaceTable (part %d)\n",
- i);
+ udf_debug("cannot load freedSpaceTable (part %d)\n", i);
return 1;
}
UDF_SB_PARTFLAGS(sb,i) |= UDF_PART_FLAG_FREED_TABLE;
@@ -1293,19 +1291,16 @@ static int udf_load_partition(struct super_block *sb, kernel_lb_addr *fileset)

if (!UDF_SB_LASTBLOCK(sb)) {
udf_debug("Unable to determine Lastblock (For "
- "Virtual Partition)\n");
+ "Virtual Partition)\n")...

Previous thread: sysfs_readdir patch for 2.6.16.53 by Miloslav Semler on Friday, September 21, 2007 - 1:31 pm. (2 messages)

Next thread: x86_64: potential critical issue with quicklists and page table pages by Siddha, Suresh B on Friday, September 21, 2007 - 2:07 pm. (18 messages)