mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
proc: fix proc_kill_inodes to kill dentries on all proc superblocks
It appears we overlooked support for removing generic proc files when we added support for multiple proc super blocks. Handle that now. [akpm@linux-foundation.org: coding-style cleanups] Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Pavel Emelyanov <xemul@openvz.org> Cc: Alexey Dobriyan <adobriyan@sw.ru> Acked-by: Sukadev Bhattiprolu <sukadev@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
7105458563
commit
e1a1c997af
3 changed files with 24 additions and 17 deletions
|
@ -98,7 +98,7 @@ static void proc_kill_sb(struct super_block *sb)
|
|||
put_pid_ns(ns);
|
||||
}
|
||||
|
||||
static struct file_system_type proc_fs_type = {
|
||||
struct file_system_type proc_fs_type = {
|
||||
.name = "proc",
|
||||
.get_sb = proc_get_sb,
|
||||
.kill_sb = proc_kill_sb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue