proc: Move PDE_NET() to fs/proc/proc_net.c

Move PDE_NET() to fs/proc/proc_net.c as that's where the only user is.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Esse commit está contido em:
David Howells
2013-04-12 02:09:03 +01:00
commit de Al Viro
commit 4abfd02989
2 arquivos alterados com 4 adições e 5 exclusões

Ver arquivo

@@ -26,6 +26,10 @@
#include "internal.h"
static inline struct net *PDE_NET(struct proc_dir_entry *pde)
{
return pde->parent->data;
}
static struct net *get_proc_net(const struct inode *inode)
{