]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mountd: move most of get_exportlist() into helpers
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 27 Nov 2009 20:01:12 +0000 (15:01 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 13 Jan 2010 20:39:14 +0000 (15:39 -0500)
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>

No differences found