NFS: Update MNT and MNT3 reply decoding functions
[linux-block.git] / fs / nfs / super.c
index 539a61a0887bede790004e22c4a60b0522e4ae39..0b72357cdc41ce5ebfee0d6365b01fb1aa2996ec 100644 (file)
@@ -1380,6 +1380,7 @@ out_security_failure:
 static int nfs_try_mount(struct nfs_parsed_mount_data *args,
                         struct nfs_fh *root_fh)
 {
+       unsigned int auth_flavor_len = 0;
        struct nfs_mount_request request = {
                .sap            = (struct sockaddr *)
                                                &args->mount_server.address,
@@ -1387,6 +1388,7 @@ static int nfs_try_mount(struct nfs_parsed_mount_data *args,
                .protocol       = args->mount_server.protocol,
                .fh             = root_fh,
                .noresvport     = args->flags & NFS_MOUNT_NORESVPORT,
+               .auth_flav_len  = &auth_flavor_len,
        };
        int status;