timens_on_fork() always return 0, and maybe not
need to judge the return value in copy_namespaces().
Signed-off-by: Hui Su
---
kernel/nsproxy.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c
index 12dd41b39a7f..e2e6c5dc433f 100644
--
On Sun, Nov 15, 2020 at 10:36 AM Hui Su wrote:
>
> timens_on_fork() always return 0, and maybe not
> need to judge the return value in copy_namespaces().
Thank you for cleaning this up. I think we can go even further and
change timens_on_fork to return nothing:
-int timens_on_fork(struct nsproxy
On Tue, Nov 17, 2020 at 12:30:26AM -0800, Andrey Vagin wrote:
> On Sun, Nov 15, 2020 at 10:36 AM Hui Su wrote:
> >
> > timens_on_fork() always return 0, and maybe not
> > need to judge the return value in copy_namespaces().
>
> Thank you for cleaning this up. I think we can go even further and
>
3 matches
Mail list logo