]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
libexport.a: Reduce code duplication in client_init()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Apr 2010 12:57:29 +0000 (08:57 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 15 Apr 2010 12:57:29 +0000 (08:57 -0400)
Clean up:  Most cases in client_init() set clp->m_naddr to zero.  Move
it to the common part of the function, and simplify the logic.  This
will make adding IPv6 support here more straightforward.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found