]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mountd: move export lookup into separate function
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 22 Dec 2009 16:22:58 +0000 (11:22 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 13 Jan 2010 20:39:14 +0000 (15:39 -0500)
Move this main loop to a separate function, to make it a little easier
to follow the logic of the caller.

Also, instead of waiting till we find an export to do the dns
resolution, do it at the start; it will normally be needed anyway, and
this simplifies the control flow.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found