| From | David Howells <> | Subject | Re: [PATCH 20/39] afs: simplify procfs code | Date | Mon, 30 Apr 2018 15:37:10 +0100 |
| |
Christoph Hellwig <hch@lst.de> wrote:
> I don't think you should need any of these. seq_file_net or > seq_file_single_net will return you the net_ns based on a struct > seq_file. And even from your write routines you can reach the > seq_file in file->private pretty easily.
You've taken away things like single_open/release_net() which means I can't supply my own fops and use the proc_net stuff. I wonder if I should add a write op to struct proc_dir_entry.
David
|