RE: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Chen, Hanxiao
> -Original Message- > From: Aristeu Rozanski [mailto:a...@redhat.com] > > On Thu, Sep 11, 2014 at 05:51:31PM +0800, Chen Hanxiao wrote: > > Use marco instead of magic number > > for max user namespace level. > > patch is ok, but you might want to do s/marco/macro/ > Sorry for that

Re: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Aristeu Rozanski
On Thu, Sep 11, 2014 at 05:51:31PM +0800, Chen Hanxiao wrote: > Use marco instead of magic number > for max user namespace level. patch is ok, but you might want to do s/marco/macro/ -- Aristeu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Serge Hallyn
Quoting Chen Hanxiao (chenhanx...@cn.fujitsu.com): > Use marco instead of magic number > for max user namespace level. > > Signed-off-by: Chen Hanxiao Acked-by: Serge E. Hallyn > --- > kernel/user_namespace.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

[RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Chen Hanxiao
Use marco instead of magic number for max user namespace level. Signed-off-by: Chen Hanxiao --- kernel/user_namespace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index aa312b0..5435489 100644 ---

RE: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Chen, Hanxiao
-Original Message- From: Aristeu Rozanski [mailto:a...@redhat.com] On Thu, Sep 11, 2014 at 05:51:31PM +0800, Chen Hanxiao wrote: Use marco instead of magic number for max user namespace level. patch is ok, but you might want to do s/marco/macro/ Sorry for that typo.. Do I

[RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Chen Hanxiao
Use marco instead of magic number for max user namespace level. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com --- kernel/user_namespace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index aa312b0..5435489

Re: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Serge Hallyn
Quoting Chen Hanxiao (chenhanx...@cn.fujitsu.com): Use marco instead of magic number for max user namespace level. Signed-off-by: Chen Hanxiao chenhanx...@cn.fujitsu.com Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- kernel/user_namespace.c | 4 +++- 1 file changed, 3

Re: [RESEND][PATCH] userns: use marco instead of magic number for max userns level

2014-09-11 Thread Aristeu Rozanski
On Thu, Sep 11, 2014 at 05:51:31PM +0800, Chen Hanxiao wrote: Use marco instead of magic number for max user namespace level. patch is ok, but you might want to do s/marco/macro/ -- Aristeu -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to