aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 539a61a0887b..0b72357cdc41 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1380,6 +1380,7 @@ out_security_failure:
1380static int nfs_try_mount(struct nfs_parsed_mount_data *args, 1380static int nfs_try_mount(struct nfs_parsed_mount_data *args,
1381 struct nfs_fh *root_fh) 1381 struct nfs_fh *root_fh)
1382{ 1382{
1383 unsigned int auth_flavor_len = 0;
1383 struct nfs_mount_request request = { 1384 struct nfs_mount_request request = {
1384 .sap = (struct sockaddr *) 1385 .sap = (struct sockaddr *)
1385 &args->mount_server.address, 1386 &args->mount_server.address,
@@ -1387,6 +1388,7 @@ static int nfs_try_mount(struct nfs_parsed_mount_data *args,
1387 .protocol = args->mount_server.protocol, 1388 .protocol = args->mount_server.protocol,
1388 .fh = root_fh, 1389 .fh = root_fh,
1389 .noresvport = args->flags & NFS_MOUNT_NORESVPORT, 1390 .noresvport = args->flags & NFS_MOUNT_NORESVPORT,
1391 .auth_flav_len = &auth_flavor_len,
1390 }; 1392 };
1391 int status; 1393 int status;
1392 1394