pid_namespace: make freeing struct pid_namespace rcu-delayed
makes procfs ->premission() instances safety in RCU mode independent from vfsmount_lock. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
1dcddd4abd
commit
1adfcb03e3
2 changed files with 8 additions and 1 deletions
|
|
@ -23,6 +23,7 @@ struct bsd_acct_struct;
|
|||
struct pid_namespace {
|
||||
struct kref kref;
|
||||
struct pidmap pidmap[PIDMAP_ENTRIES];
|
||||
struct rcu_head rcu;
|
||||
int last_pid;
|
||||
unsigned int nr_hashed;
|
||||
struct task_struct *child_reaper;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue