···190190191191 switch (je16_to_cpu(node->u.nodetype)) {192192 case JFFS2_NODETYPE_INODE:193193+ if (f->metadata && f->metadata->raw == raw) {194194+ dbg_noderef("Will replace ->raw in f->metadata at %p\n", f->metadata);195195+ return &f->metadata->raw;196196+ }193197 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset));194198 BUG_ON(!frag);195199 /* Find a frag which refers to the full_dnode we want to modify */···203199 }204200 dbg_noderef("Will replace ->raw in full_dnode at %p\n", frag->node);205201 return &frag->node->raw;206206- break;207202208203 case JFFS2_NODETYPE_DIRENT:209204 for (fd = f->dents; fd; fd = fd->next) {···212209 }213210 }214211 BUG();212212+215213 default:216214 dbg_noderef("Don't care about replacing raw for nodetype %x\n",217215 je16_to_cpu(node->u.nodetype));