diff options
author | Sachin Pandit <spandit@redhat.com> | 2013-12-24 09:24:42 +0530 |
---|---|---|
committer | Sachin Pandit <spandit@redhat.com> | 2014-01-15 08:40:50 +0530 |
commit | 9e3459ccf35ac62004e4d8e15e25d1ed264f8904 (patch) | |
tree | bf834bd5b8f5f2109a9e2a8fa638ca3c03dbfc9f /xlators/mgmt/glusterd/src/glusterd.c | |
parent | c7cab23472b1d59958a0f39bdaf7776e09f039e4 (diff) |
mgmt/glusterd : Having a separate list for snapshots.
Creating a separate list for snaps taken, as cluttering
snaps in the volume list does not look neat.
Change-Id: Ida4a183e95e8694b85ebb5a680d06b7d29a460a0
BUG: 1040947
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index 8b97a4e26..42fd8a725 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -1315,6 +1315,7 @@ init (xlator_t *this) INIT_LIST_HEAD (&conf->peers); INIT_LIST_HEAD (&conf->volumes); INIT_LIST_HEAD (&conf->snap_cg); + INIT_LIST_HEAD (&conf->snap_list); pthread_mutex_init (&conf->mutex, NULL); conf->rpc = rpc; |