diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2010-09-16 07:12:47 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-09-16 07:13:43 -0400 |
commit | 64bf8db367fd43e80dd135b460afc157808647fa (patch) | |
tree | ea707da170b495255ff9a8d643b41a0350fc2afb /utils/idmapd | |
parent | 7f77ef90ad52eced1552efc2242e063aa4501ddc (diff) | |
download | nfs-utils-64bf8db367fd43e80dd135b460afc157808647fa.tar.gz nfs-utils-64bf8db367fd43e80dd135b460afc157808647fa.tar.xz nfs-utils-64bf8db367fd43e80dd135b460afc157808647fa.zip |
rpc.idmapd: Type of idmap client should be defined by ic_id not ic_clid.
The type of idmap_client is defined by idmap_client.ic_id for nfs,
so nfsd should have the same style.
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/idmapd')
-rw-r--r-- | utils/idmapd/idmapd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index 9ecab66..b76607a 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -119,8 +119,8 @@ struct idmap_client { static struct idmap_client nfsd_ic[2] = { { .ic_which = IC_IDNAME, - .ic_clid = "Server", - .ic_id = "", + .ic_clid = "", + .ic_id = "Server", .ic_path = IC_IDNAME_CHAN, .ic_fd = -1, .ic_dirfd = -1, @@ -128,8 +128,8 @@ static struct idmap_client nfsd_ic[2] = { }, { .ic_which = IC_NAMEID, - .ic_clid = "Server", - .ic_id = "", + .ic_clid = "", + .ic_id = "Server", .ic_path = IC_NAMEID_CHAN, .ic_fd = -1, .ic_dirfd = -1, |