Re: [PATCH 20/39] afs: simplify procfs code

From: David Howells
Date: Fri Apr 20 2018 - 08:29:41 EST

David Howells <dhowells@xxxxxxxxxx> wrote:

> > Use remove_proc_subtree to remove the whole subtree on cleanup, and
> > unwind the registration loop into individual calls. Switch to use
> > proc_create_seq where applicable.
> Note that this is likely going to clash with my patch to net-namespace all of
> the afs proc files:
> If it helps, I should be able to disentangle this from the mount-api changes
> since the subsequent patch connects the dots to propagate the network
> namespace over automount using the new fs_context to do it.

Okay, I'll follow up this mail with a pair of patches to just use network
namespacing in AFS. The first exports a function from core code only; the
second is the actual modifications to AFS.

Note that this doesn't actually yet permit AFS to use any other namespace.
The propagation-over-automount issue is handled by a separate patch.