[PATCH] nfsroot port= parameter fix [backport of 2.4 fix]
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2006 06:44:17 +0000 (01:44 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 02:00:42 +0000 (21:00 -0500)
commit8854eddbdb3e45b8d381ecff2937a942d0cb2067
tree25e8a0d272ed0edadb13b00e271d9933b8df34fa
parentcc59853b4a9973126e15e0e6bdddf0627d4b99c4
[PATCH] nfsroot port= parameter fix [backport of 2.4 fix]

Direct backport of 2.4 fix that didn't get propagated to 2.6; original
comment follows:
<quote>
   When I specify the NFS port for nfsroot (e.g.,
   nfsroot=<dir>,port=2049), the
   kernel uses the wrong port. In my case it tries to use 264 (0x108)
   instead
   of 2049 (0x801).

   This patch adds the missing htons().

   Eric
</quote>

Patch got applied in 2.4.21-pre6.  Author: Eric Lammerts (<eric@lammerts.org>,
AFAICS).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/nfsroot.c