X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fext4%2Fresize.c;h=ca5c8aa00a2fe10a621348913a0c85908c6e7f6e;hb=062e27ec1b49d12bdb1ecc94d74b5fee5a5775db;hp=27527ae466ea38bbdba55fd8dda8a05486dc44b1;hpb=a0375156ca1041574b5d47cc7e32f10b891151b0;p=cascardo%2Flinux.git diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c index 27527ae466ea..ca5c8aa00a2f 100644 --- a/fs/ext4/resize.c +++ b/fs/ext4/resize.c @@ -952,7 +952,6 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es, ext4_fsblk_t n_blocks_count) { ext4_fsblk_t o_blocks_count; - ext4_group_t o_groups_count; ext4_grpblk_t last; ext4_grpblk_t add; struct buffer_head *bh; @@ -964,7 +963,6 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es, * yet: we're going to revalidate es->s_blocks_count after * taking the s_resize_lock below. */ o_blocks_count = ext4_blocks_count(es); - o_groups_count = EXT4_SB(sb)->s_groups_count; if (test_opt(sb, DEBUG)) printk(KERN_DEBUG "EXT4-fs: extending last group from %llu uto %llu blocks\n",