nfsexp_flags
int flags = nfsexp_flags(cred, exp);
int nfsexp_flags(struct svc_cred *cred, struct svc_export *exp);
if (nfsexp_flags(cred, exp) & NFSEXP_INSECURE_PORT)
return nfsexp_flags(cred, exp) & NFSEXP_READONLY;