mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
common object embedded into various struct ....ns
for now - just move corresponding ->proc_inum instances over there Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
cac7f24298
commit
435d5f4bb2
17 changed files with 43 additions and 29 deletions
|
@ -26,6 +26,7 @@
|
|||
#endif
|
||||
#include <net/netns/nftables.h>
|
||||
#include <net/netns/xfrm.h>
|
||||
#include <linux/ns_common.h>
|
||||
|
||||
struct user_namespace;
|
||||
struct proc_dir_entry;
|
||||
|
@ -60,7 +61,7 @@ struct net {
|
|||
|
||||
struct user_namespace *user_ns; /* Owning user namespace */
|
||||
|
||||
unsigned int proc_inum;
|
||||
struct ns_common ns;
|
||||
|
||||
struct proc_dir_entry *proc_net;
|
||||
struct proc_dir_entry *proc_net_stat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue