mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
1bc3a2cbf2
commit
0c38f2131d
8 changed files with 17 additions and 22 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue