I do think that duplicating hooks is the wrong approach, but it does
have the minimal impact of all the solutions, and the duplication can
be consolidated later. So in the end this might be the easiest way
forward.
What Al is violently opposed to is removing the vfs_foo() API which
separates the "VFS core", which doesn't know anything abount mounts,
from the rest of the VFS.
But as Jamie pointed out, we've already sneaked in vfsmounts via the
r/o bind mounts patches. I don't see why we would need to strictly
separate the mount namespace handling from the VFS core.
Miklos
--