[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>
This commit is contained in:
committed by
Linus Torvalds
parent
e9ad5620bf
commit
a4e4de36dc
@ -2348,10 +2348,8 @@ static int ext3_remount (struct super_block * sb, int * flags, char * data)
|
||||
*/
|
||||
ext3_clear_journal_err(sb, es);
|
||||
sbi->s_mount_state = le16_to_cpu(es->s_state);
|
||||
if ((ret = ext3_group_extend(sb, es, n_blocks_count))) {
|
||||
err = ret;
|
||||
if ((err = ext3_group_extend(sb, es, n_blocks_count)))
|
||||
goto restore_opts;
|
||||
}
|
||||
if (!ext3_setup_super (sb, es, 0))
|
||||
sb->s_flags &= ~MS_RDONLY;
|
||||
}
|
||||
|
Reference in New Issue
Block a user