]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/mountd.c
1/ be less trusting of information in /var/lib/nfs/xtab. Add things to
[nfs-utils.git] / utils / mountd / mountd.c
index 1cfdc7463c7344d8d6994de4b25c9397227f85d7..1eeefdcf0ffa872211d177366717dd7f6f7bc00d 100644 (file)
@@ -263,7 +263,7 @@ get_rootfh(struct svc_req *rqstp, dirpath *path, int *error, int v3)
        } else {
                struct nfs_fh_len  *fh;
 
-               if (!exp->m_exported)
+               if (exp->m_exported<1)
                        export_export(exp);
                if (!exp->m_xtabent)
                        xtab_append(exp);