All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rpc.idmapd: Type of idmap client should be defined by ic_id not ic_clid.
@ 2010-09-14  2:59 Bian Naimeng
  2010-09-16 11:15 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Bian Naimeng @ 2010-09-14  2:59 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs, Chuck Lever

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>

---
 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, 
-- 
1.6.5.2



-- 
Regards
Bian Naimeng


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rpc.idmapd: Type of idmap client should be defined by ic_id not ic_clid.
  2010-09-14  2:59 [PATCH] rpc.idmapd: Type of idmap client should be defined by ic_id not ic_clid Bian Naimeng
@ 2010-09-16 11:15 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2010-09-16 11:15 UTC (permalink / raw)
  To: Bian Naimeng; +Cc: linux-nfs, Chuck Lever



On 09/13/2010 10:59 PM, Bian Naimeng wrote:
> 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>
Committed...

steved.

> 
> ---
>  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, 
> -- 1.6.5.2
> -- Regards Bian Naimeng

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-16 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14  2:59 [PATCH] rpc.idmapd: Type of idmap client should be defined by ic_id not ic_clid Bian Naimeng
2010-09-16 11:15 ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.