Re: [PATCH] nsproxy: use put_nsproxy() in switch_task_namespaces()

2020-11-18 Thread Christian Brauner
On Mon, Nov 16, 2020 at 02:00:54AM +0800, Hui Su wrote: > Use put_nsproxy() instead of ' > if (atomic_dec_and_test(>count)) { > free_nsproxy(ns); > }' in switch_task_namespaces(). > > and remove the whitespace by the way. > > Signed-off-by: Hui Su > --- Acked-by: Christian Brauner

[PATCH] nsproxy: use put_nsproxy() in switch_task_namespaces()

2020-11-15 Thread Hui Su
Use put_nsproxy() instead of ' if (atomic_dec_and_test(>count)) { free_nsproxy(ns); }' in switch_task_namespaces(). and remove the whitespace by the way. Signed-off-by: Hui Su --- kernel/nsproxy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git