namespace: make timens_on_fork() return nothing
authorHui Su <sh_def@163.com>
Tue, 17 Nov 2020 16:17:50 +0000 (00:17 +0800)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 18 Nov 2020 10:06:47 +0000 (11:06 +0100)
commit5c62634fc65101d350cbd47722fb76f02693059d
tree64293c407c33853d3164e8d14a13a8792213b82d
parent716e343f014e2b25320f332677363e884684b742
namespace: make timens_on_fork() return nothing

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 <sh_def@163.com>
Link: https://lore.kernel.org/r/20201117161750.GA45121@rlk
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
include/linux/time_namespace.h
kernel/nsproxy.c
kernel/time/namespace.c