]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r212125, r212126
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Sep 2010 01:38:13 +0000 (01:38 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 16 Sep 2010 01:38:13 +0000 (01:38 +0000)
commitf3ac76a491680464b2d60503d96238bdf11bed9d
tree3dd83aa0115aef82e91cb26ff0e6f0f189557276
parent2ec1ce8532071b298190e038cecd4b20f6e19e9d
MFC: r212125, r212126
Modify lib/libstand/nfs.c to use NFSv3 instead of NFSv2.
This allows the nfs_getrootfh() function to return the
correct file handle size to pxe.c for pxeboot. It also
results in NFSv2 no longer being used by default anywhere
in FreeBSD. If built with OLD_NFSV2 defined, the old
code that predated this patch will be built and NFSv2
will be used. pxe.c is also modified to use this version
of nfs_getrootfh() so that pxeboot will use NFSv3 and
work for non-FreeBSD as well as FreeBSD NFS servers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@212717 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libstand/nfs.c
sys/boot/i386/libi386/pxe.c