procfs: add proc_remove_subtree()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 31 Mar 2013 00:13:46 +0000 (20:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:09:17 +0000 (14:09 -0400)
commit8ce584c7416d8a85a6f3edc17d1cddefe331e87e
tree4fe64bd588ba8e2239cfa893e1bddb3e3b30c232
parent52f21999c7b921a0390708b66ed286282c2e4bee
procfs: add proc_remove_subtree()

just what it sounds like; do that only to procfs subtrees you've
created - doing that to something shared with another driver is
not only antisocial, but might cause interesting races with
proc_create() and its ilk.

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