We're adding new entries, but not deleting them, so we don't need to do
the usual double-counter trick here.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
void
v4root_set()
{
- nfs_export *exp, *nxt;
+ nfs_export *exp;
int i;
char *path, *ptr;
char *hostname;
return;
for (i = 0; i < MCL_MAXTYPES; i++) {
- for (exp = exportlist[i].p_head; exp; exp = nxt) {
- nxt = exp->m_next;
+ for (exp = exportlist[i].p_head; exp; exp = exp->m_next) {
hostname = exp->m_export.e_hostname;
if (exp->m_export.e_flags & NFSEXP_V4ROOT)