|
@@ -833,6 +833,9 @@ static int nfs4_get_sb(struct file_system_type *fs_type,
|
|
__FUNCTION__);
|
|
__FUNCTION__);
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
+ /* RFC3530: The default port for NFS is 2049 */
|
|
|
|
+ if (addr.sin_port == 0)
|
|
|
|
+ addr.sin_port = NFS_PORT;
|
|
|
|
|
|
/* Grab the authentication type */
|
|
/* Grab the authentication type */
|
|
authflavour = RPC_AUTH_UNIX;
|
|
authflavour = RPC_AUTH_UNIX;
|