if (!bh || de->ino != inode->i_ino) 
if (!bh || le16_to_cpu(de->ino) != inode->i_ino) 
static int bfs_unlink(struct inode * dir, struct dentry * dentry){	int error = -ENOENT;	struct inode * inode;	struct buffer_head * bh;	struct bfs_dirent * de;	inode = dentry->d_inode;	lock_kernel();	bh = bfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len, &de);	if (!bh || de->ino != inode->i_ino) 		goto out_brelse;	if (!inode->i_nlink) {		printf("unlinking non-existent file %s:%lu (nlink=%d)\n", inode->i_sb->s_id, 				inode->i_ino, inode->i_nlink);		inode->i_nlink = 1;	}	de->ino = 0;	mark_buffer_dirty(bh);	dir->i_ctime = dir->i_mtime = CURRENT_TIME_SEC;	mark_inode_dirty(dir);	inode->i_nlink--;	inode->i_ctime = dir->i_ctime;	mark_inode_dirty(inode);	error = 0;out_brelse:	brelse(bh);	unlock_kernel();	return error;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/fac92becdaecff64dd91daab0292c5131de92f0d/dir.c/buggy/fs/bfs/dir.c