Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Unverified Commit aabe19b8 authored by Hui Su's avatar Hui Su Committed by Christian Brauner
Browse files

nsproxy: use put_nsproxy() in switch_task_namespaces()


We already have a dedicated helper that handles reference count
checking so stop open-coding the reference count check in
switch_task_namespaces() and use the dedicated put_nsproxy() helper
instead.
Take the change to fix a whitespace issue too.

Signed-off-by: default avatarHui Su <sh_def@163.com>
[christian.brauner@ubuntu.com: expand commit message]
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20201115180054.GA371317@rlk


Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent bda4c60d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment