Re: [PATCH] ipv4: make arp seq_file show method only produce one record per call

From: Neil Brown (
Date: Wed Oct 16 2002 - 20:30:43 EST

On Wednesday October 16, wrote:
> From: Arnaldo Carvalho de Melo <>
> Date: Wed, 16 Oct 2002 22:11:08 -0300
> That would be nice, yes, bastardizing pos for this is, humm, ugly, and
> it isn't accessible at show time (pun intended 8) ).
> Can you remind me what the original objection was to
> just using seq->private? Is it used, or planned to
> be used, by something else?

I use seq->private for private state for /proc/fs/nfs/exports.
It works nicely.
You need to define an 'open' the sets it up, and a 'release' to
tear it down, rather than doing it in start/stop.
See fs/nfsd/fnsctl.c:exports_open

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:31 EST