Re: [PATCH v2] namespace: make timens_on_fork() return nothing

2020-11-18 Thread Christian Brauner
On Wed, Nov 18, 2020 at 12:17:50AM +0800, Hui Su wrote: > timens_on_fork() always return 0, and maybe not > need to judge the return value in copy_namespaces(). > > So make timens_on_fork() return nothing and do not > judge its return val in copy_namespaces(). > > Signed-off-by: Hui Su > ---

[PATCH v2] namespace: make timens_on_fork() return nothing

2020-11-17 Thread Hui Su
timens_on_fork() always return 0, and maybe not need to judge the return value in copy_namespaces(). So make timens_on_fork() return nothing and do not judge its return val in copy_namespaces(). Signed-off-by: Hui Su --- include/linux/time_namespace.h | 6 +++--- kernel/nsproxy.c