diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-04-08 10:54:01 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-04-08 11:16:18 -0400 |
commit | 346ca35298e45e55a58d0f566c3b32b69102c6de (patch) | |
tree | 3656ab58b091c3aa41329f6954be304d68451cc0 /support/export/nfsctl.c | |
parent | 3455138100064d0213b124c72453accde2276be5 (diff) | |
download | nfs-utils-346ca35298e45e55a58d0f566c3b32b69102c6de.tar.gz nfs-utils-346ca35298e45e55a58d0f566c3b32b69102c6de.tar.xz nfs-utils-346ca35298e45e55a58d0f566c3b32b69102c6de.zip |
libexport.a: Refactor netgroup checking in client_check()
Clean up: refactor netgroup logic out of client_check() to make it
easier to introduce IPv6 support.
+ Use preferred style of keeping #ifdef out of the middle of
function definitions. Squelch compiler warnings for "#ifndef
HAVE_INNETGR" by using __attribute__((unused)).
+ Use preferred style of not using curly braces around switch cases.
+ Match style used for check_{fqdn,subnetwork}.
+ Clarify comment documenting use of h_aliases
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/nfsctl.c')
0 files changed, 0 insertions, 0 deletions