if ((frag->ofs & (PAGE_CACHE_SIZE - 1)) == 0) { 
if (frag->node && (frag->ofs & (PAGE_CACHE_SIZE - 1)) == 0) { 
void jffs2_truncate_fragtree(struct jffs2_sb_info *c, struct rb_root *list, uint32_t size){	struct jffs2_node_frag *frag = jffs2_lookup_node_frag(list, size);	JFFS2_DBG_FRAGTREE("truncating fragtree to 0x%08x bytes\n", size);	/* We know frag->ofs <= size. That's what lookup does for us */	if (frag && frag->ofs != size) {		if (frag->ofs+frag->size > size) {			frag->size = size - frag->ofs;		}		frag = frag_next(frag);	}	while (frag && frag->ofs >= size) {		struct jffs2_node_frag *next = frag_next(frag);		frag_erase(frag, list);		jffs2_obsolete_node_frag(c, frag);		frag = next;	}	if (size == 0)		return;	/* 	 * If the last fragment starts at the RAM page boundary, it is	 * REF_PRISTINE irrespective of its size.	 */	frag = frag_last(list);	if ((frag->ofs & (PAGE_CACHE_SIZE - 1)) == 0) {		JFFS2_DBG_FRAGTREE2("marking the last fragment 0x%08x-0x%08x REF_PRISTINE.\n",			frag->ofs, frag->ofs + frag->size); 		frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f0507530cbedf37515e0d803c332cdb81b34e71a/nodelist.c/buggy/fs/jffs2/nodelist.c