FreeCalypso > hg > freecalypso-sw
comparison ffstools/tiffs-rd/tree.c @ 247:190121a34b3b
TIFFS IVA: treewalk_all(): smarter handling of multiple parents
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 27 Jan 2014 06:42:03 +0000 |
parents | 0b13839f782c |
children |
comparison
equal
deleted
inserted
replaced
246:872d92404b6a | 247:190121a34b3b |
---|---|
193 fprintf(stderr, | 193 fprintf(stderr, |
194 "error: detected loop in inode tree at #%x, child of #%x\n", | 194 "error: detected loop in inode tree at #%x, child of #%x\n", |
195 child, parent); | 195 child, parent); |
196 return; | 196 return; |
197 } | 197 } |
198 treewalk_all_node(child); | 198 if (inf->nparents == 1) |
199 treewalk_all_node(child); | |
199 } | 200 } |
200 } | 201 } |
201 | 202 |
202 treewalk_all() | 203 treewalk_all() |
203 { | 204 { |