nfs: don't pass nfs_subversion to ->create_server()
pick it from mount_info Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
@@ -951,10 +951,10 @@ EXPORT_SYMBOL_GPL(nfs_free_server);
|
||||
* Create a version 2 or 3 volume record
|
||||
* - keyed on server and FSID
|
||||
*/
|
||||
struct nfs_server *nfs_create_server(struct nfs_mount_info *mount_info,
|
||||
struct nfs_subversion *nfs_mod)
|
||||
struct nfs_server *nfs_create_server(struct nfs_mount_info *mount_info)
|
||||
{
|
||||
struct nfs_server *server;
|
||||
struct nfs_subversion *nfs_mod = mount_info->nfs_mod;
|
||||
struct nfs_fattr *fattr;
|
||||
int error;
|
||||
|
||||
|
Reference in New Issue
Block a user