mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +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
|
@ -78,3 +78,5 @@ static inline int proc_fd(struct inode *inode)
|
|||
{
|
||||
return PROC_I(inode)->fd;
|
||||
}
|
||||
|
||||
extern struct file_system_type proc_fs_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue