summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
authorvmallika <vmallika@redhat.com>2016-04-25 16:23:29 +0530
committerVijaikumar Mallikarjuna <vmallika@redhat.com>2016-04-27 09:46:50 -0700
commit7433fcfdf7a663ab228de67099e8a53fed526fb0 (patch)
treee9f7b6eeb0d3731dc743e63cc2d9e3d8492ac943 /cli/src/cli.c
parentfa78b755e9c58328c1df4ef1bfeb752d47534a4a (diff)
cli/quota: Sort the list output alphabetically by path
This is a backport of http://review.gluster.org/14000 > Change-Id: I0b124e119d167817be2ae3eb52ac6c80fc7db5d1 > BUG: 1320716 > Signed-off-by: vmallika <vmallika@redhat.com> > Reviewed-on: http://review.gluster.org/14000 > Smoke: Gluster Build System <jenkins@build.gluster.com> > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > CentOS-regression: Gluster Build System <jenkins@build.gluster.com> > Reviewed-by: Kaushal M <kaushal@redhat.com> Change-Id: I87e12d58c8e267b2af67e287998e7313efc70af4 BUG: 1330018 Signed-off-by: vmallika <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/14061 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 9650e364a8e..7ab6fb2b087 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -658,6 +658,7 @@ cli_local_get ()
local = GF_CALLOC (1, sizeof (*local), cli_mt_cli_local_t);
LOCK_INIT (&local->lock);
+ INIT_LIST_HEAD (&local->dict_list);
return local;
}