X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fnfs%2Fsuper.c;h=28108c82b88742d6e325a0736f820bf8e044910e;hb=cece901481bafbf14de8cbd3a89ae869ea881055;hp=e8d40030cab4939264b4e2d2350cea9ae6c60546;hpb=76a081e5b32fde17f6f6d007e1806744cc848712;p=powerpc.git diff --git a/fs/nfs/super.c b/fs/nfs/super.c index e8d40030ca..28108c82b8 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -20,7 +20,6 @@ * of another (see nfs_lookup()) */ -#include #include #include @@ -835,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;