]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
rpc.idmapd: Type of idmap client should be defined by ic_id not ic_clid.
authorBian Naimeng <biannm@cn.fujitsu.com>
Thu, 16 Sep 2010 11:12:47 +0000 (07:12 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 16 Sep 2010 11:13:43 +0000 (07:13 -0400)
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>
utils/idmapd/idmapd.c

index 9ecab66f2696adec7cb7e82ebb8cac95146b8b37..b76607a4d8fa437eea010e8638bc3c31f2b93778 100644 (file)
@@ -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,