On Tue, Oct 08, 2013 at 02:26:53PM -0700, Ildar Muslukhov wrote:
 
 
 >  void set_seed(unsigned int pidslot)
 >  {
 > +    pid_t pid = getpid();
 > +    if ((pid != watchdog_pid) && (pid != initpid) && (pid != mainpid))

As a follow-on patch, I suggest splitting this out into an is_child_pid() 
helper.

        Dave
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to