[PATCH 3/3] [bonding 2.4] Backport PDE()

DORMANTno replies

From: Amir Noam <hidden>
Date: 2003-09-15 09:00:42

diff -Nuarp a/include/linux/proc_fs.h b/include/linux/proc_fs.h
--- a/include/linux/proc_fs.h	2003-09-15 11:39:44.000000000 +0300
+++ b/include/linux/proc_fs.h	2003-09-15 11:39:45.000000000 +0300
@@ -209,4 +209,9 @@ extern struct proc_dir_entry proc_root;
 
 #endif /* CONFIG_PROC_FS */
 
+static inline struct proc_dir_entry *PDE(const struct inode *inode)
+{
+	return (struct proc_dir_entry *)inode->u.generic_ip;
+}
+
 #endif /* _LINUX_PROC_FS_H */
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help