summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorVijaikumar M <vmallika@redhat.com>2014-05-20 12:25:47 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2014-05-29 23:58:45 -0700
commitac43be9d9c1925a5fddf21ba2061f414e53140a8 (patch)
tree17c1fa8b493bafc9922e987eb437ef5d270435e4 /xlators/mgmt/glusterd/src/glusterd-utils.h
parent748175e35e9d2d2506a875bafd6b63889512b7e5 (diff)
glusterd/snapshot: Use external umount for un-mounting snapshot
umount2 doesn't cleanup /etc/mtab entry after doing umount, so use external umount command for un-mount operation. Change-Id: I1a91a700433e2bf15dd21e6fcdd9da54441048d1 BUG: 1098084 Signed-off-by: Vijaikumar M <vmallika@redhat.com> Reviewed-on: http://review.gluster.org/7775 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-by: Avra Sengupta <asengupt@redhat.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index eed2682b5db..91a4c3c2418 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -748,6 +748,9 @@ int32_t
glusterd_mount_lvm_snapshot (char *device_path, char *brick_mount_path);
int32_t
+glusterd_umount (const char *path);
+
+int32_t
glusterd_add_snapshots_to_export_dict (dict_t *peer_data);
int32_t