]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
A few more mountd cleanups:
authoriedowse <iedowse@FreeBSD.org>
Wed, 18 Apr 2001 00:28:37 +0000 (00:28 +0000)
committeriedowse <iedowse@FreeBSD.org>
Wed, 18 Apr 2001 00:28:37 +0000 (00:28 +0000)
commit3f3a6a4168d6fc20dc75059c467c7ac113a79eaa
treed9dbf4ea1852abedd4cd5ba5509d0de9acdcb961
parent95a0a965015833d676863173557e0c35d8616c13
A few more mountd cleanups:
- Remove some horrible code that faked a "struct addrinfo" to be
  later passed to freeaddrinfo(). Instead, add a new group type
  "GT_DEFAULT" used to denote that the filesystem is exported to the
  world, and treat this case separately.
- Don't clear the AI_CANONNAME flag in a struct addrinfo returned
  by getaddrinfo. There's still a bit more struct addrinfo abuse
  left in here.
- Simplify do_mount() slightly by using an addrinfo pointer to keep
  track of the current address.
sbin/mountd/mountd.c
usr.sbin/mountd/mountd.c