aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/super.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2006-09-27 04:49:36 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 11:26:10 -0400
commita4e4de36dc446b2193bdc8ebb96a96e44b69dd94 (patch)
treed9a024e2c10dcb94decadc57caac162cef706307 /fs/ext3/super.c
parente9ad5620bfb901df8a7a2603c88689ededeecaf1 (diff)
[PATCH] ext3: Fix sparse warnings
Fixing up some endian-ness warnings in preparation to clone ext4 from ext3. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r--fs/ext3/super.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 0544325d9d7e..10985017765b 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -2348,10 +2348,8 @@ static int ext3_remount (struct super_block * sb, int * flags, char * data)
2348 */ 2348 */
2349 ext3_clear_journal_err(sb, es); 2349 ext3_clear_journal_err(sb, es);
2350 sbi->s_mount_state = le16_to_cpu(es->s_state); 2350 sbi->s_mount_state = le16_to_cpu(es->s_state);
2351 if ((ret = ext3_group_extend(sb, es, n_blocks_count))) { 2351 if ((err = ext3_group_extend(sb, es, n_blocks_count)))
2352 err = ret;
2353 goto restore_opts; 2352 goto restore_opts;
2354 }
2355 if (!ext3_setup_super (sb, es, 0)) 2353 if (!ext3_setup_super (sb, es, 0))
2356 sb->s_flags &= ~MS_RDONLY; 2354 sb->s_flags &= ~MS_RDONLY;
2357 } 2355 }