summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f7df08e)
make get_link() increment nd->depth on successful exit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
out:
path_put(&nd->path);
path_put(&last->link);
out:
path_put(&nd->path);
path_put(&last->link);
if (unlikely(IS_ERR(s))) {
err = PTR_ERR(s);
if (unlikely(IS_ERR(s))) {
err = PTR_ERR(s);
s = get_link(nd);
if (unlikely(IS_ERR(s)))
return PTR_ERR(s);
s = get_link(nd);
if (unlikely(IS_ERR(s)))
return PTR_ERR(s);
if (unlikely(!s)) {
nd->depth--;
return 0;
if (unlikely(!s)) {
nd->depth--;
return 0;