collapse adjacent increment/decrement pairs.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
break;
}
- nd->depth++;
- nd->depth--;
s = get_link(nd);
nd->depth++;
/* jumped */
nd->depth--;
put_link(nd);
- nd->depth++;
- nd->depth--;
} else {
if (*s == '/') {
if (!nd->root.mnt)
while (unlikely(nd->depth > 1)) {
nd->depth--;
put_link(nd);
- nd->depth++;
- nd->depth--;
}
nd->depth--;
return err;
err = walk_component(nd, LOOKUP_FOLLOW);
nd->depth--;
put_link(nd);
- nd->depth++;
- nd->depth--;
goto Walked;
}
nd->depth--;