mirror of
https://github.com/gluster/glusterfs.git
synced 2026-02-06 09:48:44 +01:00
There were some duplicated functions inside include.rc with identical code. These have been removed. There were also two functions with the same name but with different implementations in include.rc and snapshot.rc. This worked because some tests did include the files in different order depending on what they really need. To address this, the following changes have been applied: - Moved the function from snapshot.rc to cluster.rc and renamed it. - Moved the function from include.rc to volume.rc. - Fixed include order from all scripts. - Modified scripts that required the renamed function. Change-Id: I82d220da4e8cd0148d123a49d96ebefbeb7a954c Updates: #3469 Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>