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 /utils | |
| 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 'utils')
| -rw-r--r-- | utils/exportfs/exportfs.c | 4 | ||||
| -rw-r--r-- | utils/mountd/cache.c | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index 22e13a3..1eca567 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -410,10 +410,6 @@ dump(int verbose) c = dumpopt(c, "mountpoint%s%s", ep->e_mountpoint[0]?"=":"", ep->e_mountpoint); - if (ep->e_maptype == CLE_MAP_UGIDD) - c = dumpopt(c, "mapping=ugidd"); - else if (ep->e_maptype == CLE_MAP_FILE) - c = dumpopt(c, "mapping=file"); if (ep->e_anonuid != 65534) c = dumpopt(c, "anonuid=%d", ep->e_anonuid); if (ep->e_anongid != 65534) diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c index 4693216..6cf24ce 100644 --- a/utils/mountd/cache.c +++ b/utils/mountd/cache.c @@ -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; |
