Thread (2 messages) 2 messages, 2 authors, 2003-08-25

Re: [PATCH] convering bonding driver /proc interface to seq_file

From: Stephen Hemminger <hidden>
Date: 2003-08-25 19:27:03

On Mon, 25 Aug 2003 21:43:24 +0300
"Hen, Shmulik" [off-list ref] wrote:
quoted
-----Original Message-----
From: Stephen Hemminger [mailto:shemminger@osdl.org]
Sent: Monday, August 25, 2003 6:45 PM
To: James Morris
Cc: Hen, Shmulik; Chad Tindel; Jay Vosburgh; David S. Miller; 
Jeff Garzik; bonding-devel@lists.sourceforge.net; netdev@oss.sgi.com
Subject: Re: [PATCH] convering bonding driver /proc interface 
to seq_file

Using a pointer with seq_file was really easy.
[snip]
quoted
		seq->private = PDE(inode)->data;
Yes, but PDE(inode) does not exist in 2.4 yet, and we wanted
to achieve compatibility between bonding in 2.6 and 2.4 first
so we may then update 2.6 bonding which is too far behind
what's in 2.4 bonding. Once this is done it will be possible
to develop on 2.6, and back port into 2.4 from time to time.


	Shmulik.
#ifndef PDE
#define PDE(i) ((struct proc_dir_entry *)(i)->u.generic_ip)
#endif
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help