From 2e0aa017577a9669ee54b8466402fe2cfc137d8a Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Thu, 19 Oct 2006 23:28:37 -0700 Subject: [PATCH] --- yaml --- r: 39976 b: refs/heads/master c: 575b5c7870c940326a11614e0279b74356c1d44f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfs/super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8160574a1499..d5da0b90541a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0e7d73824e6b0024100701da246fec769dd8f087 +refs/heads/master: 575b5c7870c940326a11614e0279b74356c1d44f diff --git a/trunk/fs/nfs/super.c b/trunk/fs/nfs/super.c index 28659a919d6e..28108c82b887 100644 --- a/trunk/fs/nfs/super.c +++ b/trunk/fs/nfs/super.c @@ -834,7 +834,7 @@ static int nfs4_get_sb(struct file_system_type *fs_type, } /* RFC3530: The default port for NFS is 2049 */ if (addr.sin_port == 0) - addr.sin_port = NFS_PORT; + addr.sin_port = htons(NFS_PORT); /* Grab the authentication type */ authflavour = RPC_AUTH_UNIX;