netdev
[Top] [All Lists]

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

To: "Hen, Shmulik" <shmulik.hen@xxxxxxxxx>
Subject: RE: [PATCH] convering bonding driver /proc interface to seq_file
From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
Date: Mon, 25 Aug 2003 01:15:13 +1000 (EST)
Cc: Stephen Hemminger <shemminger@xxxxxxxx>, Chad Tindel <ctindel@xxxxxxxxxxxxxxxxxxxxx>, Jay Vosburgh <fubar@xxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, <bonding-devel@xxxxxxxxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <E791C176A6139242A988ABA8B3D9B38A014C94C0@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Sat, 23 Aug 2003, Hen, Shmulik wrote:

> Also, instead of using a seq_file interface and using a
> pointer to skip to the relevant part, we've used a different
> proc creation interface that allows passing a pointer to bond
> and thus retrieve just the relevant bond device's data.

Can you provide a pointer to this code?

seq_file is the standard and preferred way to do this kind of thing.


- James
-- 
James Morris
<jmorris@xxxxxxxxxxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>