proc: Move PDE_NET() to fs/proc/proc_net.c
[deliverable/linux.git] / fs / proc / proc_net.c
index b4ac6572474f7e4e7dafa5fde369f773a3b55cc2..986e83220d56e57524b533acb8e6a52a6cffe612 100644 (file)
 
 #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)
 {
This page took 0.023942 seconds and 5 git commands to generate.