diff options
author | vmallika <vmallika@redhat.com> | 2016-04-14 17:51:19 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2016-04-25 02:32:58 -0700 |
commit | 760dfb6e8aebc44b419e8943e4e3895591097b8b (patch) | |
tree | 25d15ed56dc389e2321c98af975845cc8f4aeaa2 /cli/src/cli.c | |
parent | fe6c4efcc66bca84aaceb352de38f0b58b70b780 (diff) |
cli/quota: Sort the list output alphabetically by path
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>
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r-- | cli/src/cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index dfacd4bee0c..923748b4594 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -663,6 +663,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; } |