Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90412
b: refs/heads/master
c: 0e5f8be
h: refs/heads/master
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Mar 27, 2008
1 parent 715e610 commit db8acdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5983a3dff0036d7ef6a2139473564f4f3e7b2a11
refs/heads/master: 0e5f8be1388093edc324a78ebf241170b258eba3
2 changes: 2 additions & 0 deletions trunk/fs/proc/proc_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ int seq_open_net(struct inode *ino, struct file *f,
}
EXPORT_SYMBOL_GPL(seq_open_net);

#ifdef CONFIG_NET
int seq_release_net(struct inode *ino, struct file *f)
{
struct seq_file *seq;
Expand Down Expand Up @@ -218,3 +219,4 @@ int __init proc_net_init(void)

return register_pernet_subsys(&proc_net_ns_ops);
}
#endif /* CONFIG_NET */
2 changes: 2 additions & 0 deletions trunk/include/linux/seq_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ extern struct list_head *seq_list_start_head(struct list_head *head,
extern struct list_head *seq_list_next(void *v, struct list_head *head,
loff_t *ppos);

#ifdef CONFIG_NET
struct net;
struct seq_net_private {
#ifdef CONFIG_NET_NS
Expand All @@ -81,6 +82,7 @@ static inline struct net *seq_file_net(struct seq_file *seq)
return &init_net;
#endif
}
#endif /* CONFIG_NET */

#endif
#endif

0 comments on commit db8acdc

Please sign in to comment.