* [PATCH 3/3] [bonding 2.4] Backport PDE()
@ 2003-09-15 9:00 Amir Noam
0 siblings, 0 replies; only message in thread
From: Amir Noam @ 2003-09-15 9:00 UTC (permalink / raw)
To: bonding-devel, netdev; +Cc: jgarzik
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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-15 9:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 9:00 [PATCH 3/3] [bonding 2.4] Backport PDE() Amir Noam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).