[CRIU] [PATCH 3/2] tty:add comment explaining indices

Cyrill Gorcunov gorcunov at gmail.com
Fri Dec 19 08:57:39 PST 2014


On Fri, Dec 19, 2014 at 07:50:30PM +0300, Pavel Emelyanov wrote:
> On 12/19/2014 07:45 PM, Ruslan Kuprieiev wrote:
> > Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
> > ---
> >  tty.c | 6 ++++++
> >  1 file changed, 6 insertions(+)
> > 
> > diff --git a/tty.c b/tty.c
> > index 7b184c7..4f0b917 100644
> > --- a/tty.c
> > +++ b/tty.c
> > @@ -116,6 +116,12 @@ static LIST_HEAD(all_ttys);
> >   */
> >  
> >  #define MAX_TTYS	1024
> > +
> > +/*
> > + * Custom indices should be odd numbers just in case if we
> 
> Should be odd, but 1004 is even.

Yeah, sorry always messing with odd/even words.


More information about the CRIU mailing list