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>
This commit is contained in:
Hui Su 2020-11-18 00:17:50 +08:00 • committed by Christian Brauner
commit 5c62634fc6
3 changed files with 6 additions and 13 deletions