diff --git a/[refs] b/[refs] index e130125240ec..6c013815da9b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2066fe89b459c3c787c811b3369df191cddd93d8 +refs/heads/master: 51b6ded4d9a94a61035deba1d8f51a54e3a3dd86 diff --git a/trunk/fs/nfs/super.c b/trunk/fs/nfs/super.c index 665949d27798..b99113b0f65f 100644 --- a/trunk/fs/nfs/super.c +++ b/trunk/fs/nfs/super.c @@ -833,6 +833,9 @@ static int nfs4_get_sb(struct file_system_type *fs_type, __FUNCTION__); return -EINVAL; } + /* RFC3530: The default port for NFS is 2049 */ + if (addr.sin_port == 0) + addr.sin_port = NFS_PORT; /* Grab the authentication type */ authflavour = RPC_AUTH_UNIX;