final byte[][] path = split(name, '/');
int i = -1;
while(++i < Math.min(old.length, path.length)) {
if(!eq(old[i], path[i])) break;
}
<BUG>for(int j = i; j < old.length; j++) {
</BUG>
builder.endElem(DeepFS.DIR);
}
<BUG>for(int j = i; j < path.length; j++) {
</BUG>
atts.reset();

final byte[][] path = split(name, '/');
int i = -1;
while(++i < Math.min(old.length, path.length)) {
if(!eq(old[i], path[i])) break;
}
for(int j = i; j < old.length; ++j) {
builder.endElem(DeepFS.DIR);
}
for(int j = i; j < path.length; ++j) {
atts.reset();
