From e51f690d7c5eda400316ba97ab2f4ce448b51e7d Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Mon, 2 Apr 2012 13:00:47 +0530 Subject: glusterd: Include port in nfs status Change-Id: I679e491e801b694e8a0f93dd87cf540441dae927 BUG: 806877 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.com/3060 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/mgmt/glusterd/src/glusterd-op-sm.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index d548b95a8..80553b437 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -1450,14 +1450,15 @@ glusterd_op_status_volume (dict_t *dict, char **op_errstr, vol_opts = volinfo->dict; if ((cmd & GF_CLI_STATUS_NFS) != 0) { - ret = glusterd_add_node_to_dict ("nfs", rsp_dict, 0); + ret = glusterd_add_node_to_dict ("nfs", rsp_dict, 0, vol_opts); if (ret) goto out; other_count++; node_count++; } else if ((cmd & GF_CLI_STATUS_SHD) != 0) { - ret = glusterd_add_node_to_dict ("glustershd", rsp_dict, 0); + ret = glusterd_add_node_to_dict ("glustershd", rsp_dict, 0, + vol_opts); if (ret) goto out; other_count++; @@ -1513,7 +1514,8 @@ glusterd_op_status_volume (dict_t *dict, char **op_errstr, if (!nfs_disabled) { ret = glusterd_add_node_to_dict ("nfs", rsp_dict, - other_index); + other_index, + vol_opts); if (ret) goto out; other_index++; @@ -1528,7 +1530,8 @@ glusterd_op_status_volume (dict_t *dict, char **op_errstr, && shd_enabled) { ret = glusterd_add_node_to_dict ("glustershd", rsp_dict, - other_index); + other_index, + vol_opts); if (ret) goto out; other_count++; -- cgit