diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2010-04-15 08:57:29 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2010-04-15 08:57:29 -0400 |
| commit | e1c93f691348392ee36b763bf57946540891ff16 (patch) | |
| tree | 05178d5533dd152cb3b3086efb3630485179e62b /utils/mount/parse_dev.c | |
| parent | 1fc99e6d5d6b9401e380ee756a4251c86a3b8d54 (diff) | |
| download | nfs-utils-e1c93f691348392ee36b763bf57946540891ff16.tar.gz nfs-utils-e1c93f691348392ee36b763bf57946540891ff16.tar.xz nfs-utils-e1c93f691348392ee36b763bf57946540891ff16.zip | |
libexport.a: Reduce code duplication in client_init()
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>
Diffstat (limited to 'utils/mount/parse_dev.c')
0 files changed, 0 insertions, 0 deletions
