summaryrefslogtreecommitdiffstats
path: root/support/misc/tcpwrapper.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-01-09 10:22:17 -0700
committerSteve Dickson <steved@redhat.com>2010-01-13 15:39:14 -0500
commit37d9e4f9e0d1aeeb296583e40a36ae729786230d (patch)
treed24f449cf78cf2445f3ccfab87d3ffb9e0f3ae1d /support/misc/tcpwrapper.c
parent5ccc7064cb5f59b29586474ba7c1f3e8a7255c5f (diff)
downloadnfs-utils-37d9e4f9e0d1aeeb296583e40a36ae729786230d.tar.gz
nfs-utils-37d9e4f9e0d1aeeb296583e40a36ae729786230d.tar.xz
nfs-utils-37d9e4f9e0d1aeeb296583e40a36ae729786230d.zip
mountd: minor optimization in v4root_set
Since we're adding new exports as we traverse the export list, it's possible we may find ourselves revisiting an export we just added. It's harmless to reprocess those exports, as we're currently doing. But it's also pointless. (Actually, the current code appears to always add new export entries at the head of each list, so we shouldn't hit this case. It still may be a good idea to keep this check, though, as insulation against future changes to that data structure.) Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'support/misc/tcpwrapper.c')
0 files changed, 0 insertions, 0 deletions