diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2007-03-13 13:05:05 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-15 09:48:17 +1100 |
commit | 74a8f33de5f26d6bab11d5299318035d65bd60d0 (patch) | |
tree | acf3257e8f85ac5155a064ee68c84208c6f097d1 /support/export/nfsctl.c | |
parent | afc841a1f2a62645ec2dfaa333baf07e44a03c08 (diff) | |
download | nfs-utils-74a8f33de5f26d6bab11d5299318035d65bd60d0.tar.gz nfs-utils-74a8f33de5f26d6bab11d5299318035d65bd60d0.tar.xz nfs-utils-74a8f33de5f26d6bab11d5299318035d65bd60d0.zip |
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" <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/export/nfsctl.c')
-rw-r--r-- | support/export/nfsctl.c | 6 |
1 files changed, 0 insertions, 6 deletions
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); |