]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mountd/cache.c
Remove "maptype" support
[nfs-utils.git] / utils / mountd / cache.c
index 4693216f949e1751ccf61239e9f9296b794827f1..6cf24ceb4f9f9d3b919cbe1c24cbc22e290945a5 100644 (file)
@@ -612,12 +612,6 @@ int cache_export(nfs_export *exp)
        int err;
        FILE *f;
 
-       if (exp->m_export.e_maptype != CLE_MAP_IDENT) {
-               xlog(L_ERROR, "%s: unsupported mapping; kernel supports only 'identity' (default)",
-                   exp->m_export.m_path);
-               return -1;
-       }
-
        f = fopen("/proc/net/rpc/auth.unix.ip/channel", "w");
        if (!f)
                return -1;