Only exportfs uses m_mayexport; mountd always populates the export list
with auth_reload(), which always sets m_mayexport on the entries it
creates.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
*error = no_entry;
return NULL;
}
*error = no_entry;
return NULL;
}
- if (!exp->m_mayexport) {
- *error = not_exported;
- return NULL;
- }
}
if (!(exp->m_export.e_flags & NFSEXP_INSECURE_PORT) &&
ntohs(caller->sin_port) >= IPPORT_RESERVED) {
}
if (!(exp->m_export.e_flags & NFSEXP_INSECURE_PORT) &&
ntohs(caller->sin_port) >= IPPORT_RESERVED) {