Re: seq_file and exporting dynamically allocated data

From: Tigran Aivazian
Date: Fri Nov 14 2003 - 16:02:54 EST


On Fri, 14 Nov 2003, Harald Welte wrote:
> The problem is, that seq_file is already using the file.private_data
> member...

there is a seq_file->private pointer where you can store private (per file
structure) data. That is what I do and it works very nice, BUT the problem
is that the ->private pointer was only added to seq_file recently
(2.4.20 if I remember correctly) although seq_file API was present since
2.4.15.

Kind regards
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/