We know there's no loops by the time we call it; the
only thing we care about is too deep reverse paths.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
        int error = 0;
        struct epitem *epi;
 
-       if (!ep_push_nested(file)) /* limits recursion */
+       if (depth > EP_MAX_NESTS) /* too deep nesting */
                return -1;
 
        /* CTL_DEL can remove links here, but that can't increase our count */
                }
        }
        rcu_read_unlock();
-       nesting--; /* pop */
        return error;
 }