ext3_debug("clear inode block %#04x (+%ld)\n", block, bit); 
ext3_debug("clear inode block %#04lx (+%d)\n", block, bit); 
static int setup_new_group_blocks(struct super_block *sb,				  struct ext3_new_group_data *input){	struct ext3_sb_info *sbi = EXT3_SB(sb);	unsigned long start = input->group * sbi->s_blocks_per_group +		le32_to_cpu(sbi->s_es->s_first_data_block);	int reserved_gdb = ext3_bg_has_super(sb, input->group) ?		le16_to_cpu(sbi->s_es->s_reserved_gdt_blocks) : 0;	unsigned long gdblocks = ext3_bg_num_gdb(sb, input->group);	struct buffer_head *bh;	handle_t *handle;	unsigned long block;	int bit;	int i;	int err = 0, err2;	handle = ext3_journal_start_sb(sb, reserved_gdb + gdblocks +				       2 + sbi->s_itb_per_group);	if (IS_ERR(handle))		return PTR_ERR(handle);	lock_super(sb);	if (input->group != sbi->s_groups_count) {		err = -EBUSY;		goto exit_journal;	}	if (IS_ERR(bh = bclean(handle, sb, input->block_bitmap))) {		err = PTR_ERR(bh);		goto exit_journal;	}	if (ext3_bg_has_super(sb, input->group)) {		ext3_debug("mark backup superblock %#04lx (+0)\n", start);		ext3_set_bit(0, bh->b_data);	}	/* Copy all of the GDT blocks into the backup in this group */	for (i = 0, bit = 1, block = start + 1;	     i < gdblocks; i++, block++, bit++) {		struct buffer_head *gdb;		ext3_debug("update backup group %#04lx (+%d)\n", block, bit);		gdb = sb_getblk(sb, block);		if ((err = ext3_journal_get_write_access(handle, gdb))) {			brelse(gdb);			goto exit_bh;		}		lock_buffer(bh);		memcpy(gdb->b_data, sbi->s_group_desc[i], bh->b_size);		set_buffer_uptodate(gdb);		unlock_buffer(bh);		ext3_journal_dirty_metadata(handle, gdb);		ext3_set_bit(bit, bh->b_data);		brelse(gdb);	}	/* Zero out all of the reserved backup group descriptor table blocks */	for (i = 0, bit = gdblocks + 1, block = start + bit;	     i < reserved_gdb; i++, block++, bit++) {		struct buffer_head *gdb;		ext3_debug("clear reserved block %#04lx (+%d)\n", block, bit);		if (IS_ERR(gdb = bclean(handle, sb, block))) {			err = PTR_ERR(bh);			goto exit_bh;		}		ext3_journal_dirty_metadata(handle, gdb);		ext3_set_bit(bit, bh->b_data);		brelse(gdb);	}	ext3_debug("mark block bitmap %#04x (+%ld)\n", input->block_bitmap,		   input->block_bitmap - start);	ext3_set_bit(input->block_bitmap - start, bh->b_data);	ext3_debug("mark inode bitmap %#04x (+%ld)\n", input->inode_bitmap,		   input->inode_bitmap - start);	ext3_set_bit(input->inode_bitmap - start, bh->b_data);	/* Zero out all of the inode table blocks */	for (i = 0, block = input->inode_table, bit = block - start;	     i < sbi->s_itb_per_group; i++, bit++, block++) {		struct buffer_head *it;		ext3_debug("clear inode block %#04x (+%ld)\n", block, bit);		if (IS_ERR(it = bclean(handle, sb, block))) {			err = PTR_ERR(it);			goto exit_bh;		}		ext3_journal_dirty_metadata(handle, it);		brelse(it);		ext3_set_bit(bit, bh->b_data);	}	mark_bitmap_end(input->blocks_count, EXT3_BLOCKS_PER_GROUP(sb),			bh->b_data);	ext3_journal_dirty_metadata(handle, bh);	brelse(bh);	/* Mark unused entries in inode bitmap used */	ext3_debug("clear inode bitmap %#04x (+%ld)\n",		   input->inode_bitmap, input->inode_bitmap - start);	if (IS_ERR(bh = bclean(handle, sb, input->inode_bitmap))) {		err = PTR_ERR(bh);		goto exit_journal;	}	mark_bitmap_end(EXT3_INODES_PER_GROUP(sb), EXT3_BLOCKS_PER_GROUP(sb),			bh->b_data);	ext3_journal_dirty_metadata(handle, bh);exit_bh:	brelse(bh);exit_journal:	unlock_super(sb);	if ((err2 = ext3_journal_stop(handle)) && !err)		err = err2;	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8bdac5d1ed892da54b6b2069e50a47b3aa39460f/resize.c/clean/fs/ext3/resize.c