procfs: preparations for remove_proc_entry() race fixes
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Apr 2013 23:07:30 +0000 (19:07 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 19:16:51 +0000 (15:16 -0400)
commit866ad9a747bbf5461739fcae6d0a41c8971bbe1d
tree6a94d3434bbb9034f9aeed68a59e799abf7f8ff2
parentad147d011f4e9d4e4309f7974fd19c7f875ccb14
procfs: preparations for remove_proc_entry() race fixes

* leave ->proc_fops alone; make ->pde_users negative instead
* trim pde_opener
* move relevant code in fs/proc/inode.c

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