afs: Use fs_context to pass parameters over automount
authorDavid Howells <dhowells@redhat.com>
Thu, 1 Nov 2018 23:07:27 +0000 (23:07 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Feb 2019 08:29:39 +0000 (03:29 -0500)
commitc99c2171fc61476afac0dfb59fb2c447a01fb1e0
tree605a01fb179d84069ecceed7b9c8da85873d4948
parent13fcc6837049f1bd76d57e9abc217a91fdbad764
afs: Use fs_context to pass parameters over automount

Alter the AFS automounting code to create and modify an fs_context struct
when parameterising a new mount triggered by an AFS mountpoint rather than
constructing device name and option strings.

Also remove the cell=, vol= and rwpath options as they are then redundant.
The reason they existed is because the 'device name' may be derived
literally from a mountpoint object in the filesystem, so default cell and
parent-type information needed to be passed in by some other method from
the automount routines.  The vol= option didn't end up being used.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Eric W. Biederman <ebiederm@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/internal.h
fs/afs/mntpt.c
fs/afs/super.c