[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <19809.1525099030@warthog.procyon.org.uk>
Date: Mon, 30 Apr 2018 15:37:10 +0100
From: David Howells <dhowells@...hat.com>
To: Christoph Hellwig <hch@....de>
Cc: dhowells@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-afs@...ts.infradead.org,
Alexey Dobriyan <adobriyan@...il.com>
Subject: Re: [PATCH 20/39] afs: simplify procfs code
Christoph Hellwig <hch@....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
Powered by blists - more mailing lists