From 74a8f33de5f26d6bab11d5299318035d65bd60d0 Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" Date: Tue, 13 Mar 2007 13:05:05 -0400 Subject: Remove "maptype" support It appears that this is used only by unfsd, and is obscure enough that we should be able to just rip it out with no special precautions. Signed-off-by: "J. Bruce Fields" Signed-off-by: Neil Brown --- support/export/nfsctl.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'support/export/nfsctl.c') diff --git a/support/export/nfsctl.c b/support/export/nfsctl.c index b74334c..32d92bd 100644 --- a/support/export/nfsctl.c +++ b/support/export/nfsctl.c @@ -92,12 +92,6 @@ expsetup(struct nfsctl_export *exparg, nfs_export *exp, int unexport) if (stat(exp->m_export.m_path, &stb) < 0) return 0; - 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); - errno = EINVAL; - return 0; - } memset(exparg, 0, sizeof(*exparg)); strncpy(exparg->ex_path, exp->m_export.m_path, sizeof (exparg->ex_path) - 1); -- cgit