diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2006-09-27 01:49:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:10 -0700 |
commit | a4e4de36dc446b2193bdc8ebb96a96e44b69dd94 (patch) | |
tree | d9a024e2c10dcb94decadc57caac162cef706307 /fs/ext3/super.c | |
parent | e9ad5620bfb901df8a7a2603c88689ededeecaf1 (diff) | |
download | talos-op-linux-a4e4de36dc446b2193bdc8ebb96a96e44b69dd94.tar.gz talos-op-linux-a4e4de36dc446b2193bdc8ebb96a96e44b69dd94.zip |
[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.c | 4 |
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) */ 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; } |