diff options
-rw-r--r-- | utils/mountd/mountd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index 888fd8c..179ef17 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -540,6 +540,10 @@ get_exportlist(void) for (i = 0; i < MCL_MAXTYPES; i++) { for (exp = exportlist[i].p_head; exp; exp = exp->m_next) { + /* Don't show pseudo exports */ + if (exp->m_export.e_flags & NFSEXP_V4ROOT) + continue; + for (e = elist; e != NULL; e = e->ex_next) { if (!strcmp(exp->m_export.e_path, e->ex_dir)) break; |