projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] driver core: fix built-in drivers sysfs links
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
pid.c
diff --git
a/kernel/pid.c
b/kernel/pid.c
index 2efe9d8d367b9346e1a38bc92027f0a24345029d..78f2aee90f541eb72b1616d1fc7405de865920fe 100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-197,7
+197,7
@@
fastcall void free_pid(struct pid *pid)
hlist_del_rcu(&pid->pid_chain);
spin_unlock_irqrestore(&pidmap_lock, flags);
- free_pidmap(
current->nsproxy->
pid_ns, pid->nr);
+ free_pidmap(
&init_
pid_ns, pid->nr);
call_rcu(&pid->rcu, delayed_put_pid);
}