diff options
Diffstat (limited to 'fs/nfs/nfsroot.c')
-rw-r--r-- | fs/nfs/nfsroot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c index 24c1b93874c4..8c55b27c0de4 100644 --- a/fs/nfs/nfsroot.c +++ b/fs/nfs/nfsroot.c | |||
@@ -490,6 +490,7 @@ static int __init root_nfs_get_handle(void) | |||
490 | { | 490 | { |
491 | struct nfs_fh fh; | 491 | struct nfs_fh fh; |
492 | struct sockaddr_in sin; | 492 | struct sockaddr_in sin; |
493 | unsigned int auth_flav_len = 0; | ||
493 | struct nfs_mount_request request = { | 494 | struct nfs_mount_request request = { |
494 | .sap = (struct sockaddr *)&sin, | 495 | .sap = (struct sockaddr *)&sin, |
495 | .salen = sizeof(sin), | 496 | .salen = sizeof(sin), |
@@ -499,6 +500,7 @@ static int __init root_nfs_get_handle(void) | |||
499 | .protocol = (nfs_data.flags & NFS_MOUNT_TCP) ? | 500 | .protocol = (nfs_data.flags & NFS_MOUNT_TCP) ? |
500 | XPRT_TRANSPORT_TCP : XPRT_TRANSPORT_UDP, | 501 | XPRT_TRANSPORT_TCP : XPRT_TRANSPORT_UDP, |
501 | .fh = &fh, | 502 | .fh = &fh, |
503 | .auth_flav_len = &auth_flav_len, | ||
502 | }; | 504 | }; |
503 | int status; | 505 | int status; |
504 | 506 | ||