diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-11-27 15:01:12 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-01-13 15:39:14 -0500 |
commit | 8ec371fe01e96c008cdc6143db716f1a9bfb6566 (patch) | |
tree | 838e4358b3cb42f21fcaa40e4a1ad2dad1791254 /support/export/export.c | |
parent | b25694320f2bdd79de82f2003209b8229eafff36 (diff) | |
download | nfs-utils-8ec371fe01e96c008cdc6143db716f1a9bfb6566.tar.gz nfs-utils-8ec371fe01e96c008cdc6143db716f1a9bfb6566.tar.xz nfs-utils-8ec371fe01e96c008cdc6143db716f1a9bfb6566.zip |
mountd: move most of get_exportlist() into helpers
I needed to understand get_exportlist() recently, and it gave me
trouble.
Move detail work into helper functions to make the basic logic clear,
and to remove need for excessive nesting (and fix inconsistent
indentation levels). Also remove unnecessary casts of void returns from
xmalloc().
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'support/export/export.c')
0 files changed, 0 insertions, 0 deletions