/* If there is a pid at nr this function is exactly the same as find_pid_ns.  */
struct pid* find_ge_pid(int nr, struct pid_namespace *ns)
/* If there is a pid at nr this function is exactly the same as find_pid_ns.  */
struct pid* find_ge_pid(int nr, struct pid_namespace *ns)
{
	struct pid *pid;
	do {
		pid = find_pid_ns(nr, ns);
		if (pid)
			break;
		nr = next_pidmap(ns, nr);
	} while (nr > 0);
	return pid;
}