Hi,

I found the following code in dup2():

        oldfdi = idm_lookup(&idm, oldfd);
        if (oldfdi && oldfdi->type == fd_fork)
                fork_passive(oldfd);

In that code the file descriptor type ("type") is compared with a fork
state enum value ("fd_fork"). Is that on purpose ??

Merci,

Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to