From: J. Bruce Fields Date: Fri, 27 Nov 2009 20:01:12 +0000 (-0500) Subject: mountd: move most of get_exportlist() into helpers X-Git-Tag: nfs-utils-1-2-2-rc6~12 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=8ec371fe01e96c008cdc6143db716f1a9bfb6566;hp=8ec371fe01e96c008cdc6143db716f1a9bfb6566;p=nfs-utils.git 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 ---