unsigned long ino = inode->i_ino; 
unsigned int ino = (u16)inode->i_ino; unsigned long i_sblock; 
static int bfs_write_inode(struct inode * inode, int unused){	unsigned long ino = inode->i_ino;	struct bfs_inode * di;	struct buffer_head * bh;	int block, off;	if (ino < BFS_ROOT_INO || ino > BFS_SB(inode->i_sb)->si_lasti) {		printf("Bad inode number %s:%08lx\n", inode->i_sb->s_id, ino);		return -EIO;	}	lock_kernel();	block = (ino - BFS_ROOT_INO)/BFS_INODES_PER_BLOCK + 1;	bh = sb_bread(inode->i_sb, block);	if (!bh) {		printf("Unable to read inode %s:%08lx\n", inode->i_sb->s_id, ino);		unlock_kernel();		return -EIO;	}	off = (ino - BFS_ROOT_INO)%BFS_INODES_PER_BLOCK;	di = (struct bfs_inode *)bh->b_data + off;	if (inode->i_ino == BFS_ROOT_INO)		di->i_vtype = BFS_VDIR;	else		di->i_vtype = BFS_VREG;	di->i_ino = inode->i_ino;	di->i_mode = inode->i_mode;	di->i_uid = inode->i_uid;	di->i_gid = inode->i_gid;	di->i_nlink = inode->i_nlink;	di->i_atime = inode->i_atime.tv_sec;	di->i_mtime = inode->i_mtime.tv_sec;	di->i_ctime = inode->i_ctime.tv_sec;	di->i_sblock = BFS_I(inode)->i_sblock;	di->i_eblock = BFS_I(inode)->i_eblock;	di->i_eoffset = di->i_sblock * BFS_BSIZE + inode->i_size - 1;	mark_buffer_dirty(bh);	brelse(bh);	unlock_kernel();	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/fac92becdaecff64dd91daab0292c5131de92f0d/inode.c/clean/fs/bfs/inode.c