diff options
author | Kaushal M <kaushal@redhat.com> | 2012-05-15 16:31:55 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-05-16 15:51:57 -0700 |
commit | 1d02db63ae17788c7ab28ac81dea0675500be845 (patch) | |
tree | 3d90529903b709ac77dd9eda28940b812e6da1c5 /xlators/protocol/client/src/client.h | |
parent | c04fe640f5a0baf146a8530cf012fe35aa9ca588 (diff) |
client/protocol : Changes in client3_1_getxattr()
Copy args->loc to local->loc in client3_1_getxattr(). This prevents logs with
"(null) (--)" in client3_1_getxattr_cbk().
Also save args->name in local->name and print it in the log as well.
Change-Id: I1bfd00c6bbbe9f617744af7acd2f07ceafaadb3a
BUG: 812199
Signed-off-by: Kaushal M <kaushal@redhat.com>
Reviewed-on: http://review.gluster.com/3336
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r-- | xlators/protocol/client/src/client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h index bf04f942a39..64066dd0add 100644 --- a/xlators/protocol/client/src/client.h +++ b/xlators/protocol/client/src/client.h @@ -155,6 +155,7 @@ typedef struct client_local { int32_t cmd; struct list_head lock_list; pthread_mutex_t mutex; + char *name; } clnt_local_t; typedef struct client_args { |