diff options
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r-- | fs/nfs/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index e8d40030cab4..28108c82b887 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -20,7 +20,6 @@ | |||
20 | * of another (see nfs_lookup()) | 20 | * of another (see nfs_lookup()) |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include <linux/config.h> | ||
24 | #include <linux/module.h> | 23 | #include <linux/module.h> |
25 | #include <linux/init.h> | 24 | #include <linux/init.h> |
26 | 25 | ||
@@ -835,7 +834,7 @@ static int nfs4_get_sb(struct file_system_type *fs_type, | |||
835 | } | 834 | } |
836 | /* RFC3530: The default port for NFS is 2049 */ | 835 | /* RFC3530: The default port for NFS is 2049 */ |
837 | if (addr.sin_port == 0) | 836 | if (addr.sin_port == 0) |
838 | addr.sin_port = NFS_PORT; | 837 | addr.sin_port = htons(NFS_PORT); |
839 | 838 | ||
840 | /* Grab the authentication type */ | 839 | /* Grab the authentication type */ |
841 | authflavour = RPC_AUTH_UNIX; | 840 | authflavour = RPC_AUTH_UNIX; |