deal with races between remove_proc_entry() and proc_reg_release()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Apr 2013 23:57:00 +0000 (19:57 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 19:16:51 +0000 (15:16 -0400)
commitca469f35a8e9ef12571a4b80ac6d7fdc0260fb44
tree228daeec1f54db72c32d64bf8b54413c65d0ab30
parent866ad9a747bbf5461739fcae6d0a41c8971bbe1d
deal with races between remove_proc_entry() and proc_reg_release()

* serialize the call of ->release() on per-pdeo mutex
* don't remove pdeo from per-pde list until we are through with it

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc/inode.c
fs/proc/internal.h