ext3_debug(sb, __FUNCTION__, "update metadata backup %#04lx\n", bh->b_blocknr); 
ext3_debug("update metadata backup %#04lx\n", (unsigned long)bh->b_blocknr); 
static void update_backups(struct super_block *sb,			   int blk_off, char *data, int size){	struct ext3_sb_info *sbi = EXT3_SB(sb);	const unsigned long last = sbi->s_groups_count;	const int bpg = EXT3_BLOCKS_PER_GROUP(sb);	unsigned three = 1;	unsigned five = 5;	unsigned seven = 7;	unsigned group;	int rest = sb->s_blocksize - size;	handle_t *handle;	int err = 0, err2;	handle = ext3_journal_start_sb(sb, EXT3_MAX_TRANS_DATA);	if (IS_ERR(handle)) {		group = 1;		err = PTR_ERR(handle);		goto exit_err;	}	while ((group = ext3_list_backups(sb, &three, &five, &seven)) < last) {		struct buffer_head *bh;		/* Out of journal space, and can't get more - abort - so sad */		if (handle->h_buffer_credits == 0 &&		    ext3_journal_extend(handle, EXT3_MAX_TRANS_DATA) &&		    (err = ext3_journal_restart(handle, EXT3_MAX_TRANS_DATA)))			break;		bh = sb_getblk(sb, group * bpg + blk_off);		ext3_debug(sb, __FUNCTION__, "update metadata backup %#04lx\n",			   bh->b_blocknr);		if ((err = ext3_journal_get_write_access(handle, bh)))			break;		lock_buffer(bh);		memcpy(bh->b_data, data, size);		if (rest)			memset(bh->b_data + size, 0, rest);		set_buffer_uptodate(bh);		unlock_buffer(bh);		ext3_journal_dirty_metadata(handle, bh);		brelse(bh);	}	if ((err2 = ext3_journal_stop(handle)) && !err)		err = err2;	/*	 * Ugh! Need to have e2fsck write the backup copies.  It is too	 * late to revert the resize, we shouldn't fail just because of	 * the backup copies (they are only needed in case of corruption).	 *	 * However, if we got here we have a journal problem too, so we	 * can't really start a transaction to mark the superblock.	 * Chicken out and just set the flag on the hope it will be written	 * to disk, and if not - we will simply wait until next fsck.	 */exit_err:	if (err) {		ext3_warning(sb, __FUNCTION__,			     "can't update backup for group %d (err %d), "			     "forcing fsck on next reboot\n", group, err);		sbi->s_mount_state &= ~EXT3_VALID_FS;		sbi->s_es->s_state &= ~cpu_to_le16(EXT3_VALID_FS);		mark_buffer_dirty(sbi->s_sbh);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8bdac5d1ed892da54b6b2069e50a47b3aa39460f/resize.c/clean/fs/ext3/resize.c