diff options
| author | Hui Su <[email protected]> | 2020-11-15 18:00:54 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2020-11-19 09:57:02 +0000 |
| commit | aabe19b8279340c43294688b4d9527a893c60463 (patch) | |
| tree | 06b0cdf4c2d11b10d38d620989a40a4f529a7daa /scripts/gcc-plugins/structleak_plugin.c | |
| parent | sys: Convert to the new fallthrough notation (diff) | |
| download | kernel-aabe19b8279340c43294688b4d9527a893c60463.tar.gz kernel-aabe19b8279340c43294688b4d9527a893c60463.zip | |
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: Hui Su <[email protected]>
[[email protected]: expand commit message]
Acked-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/20201115180054.GA371317@rlk
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
