From 27f39a7c9d10e836295ae4ad1a88d1f0a911079f Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 30 Aug 2010 01:16:05 +0000 Subject: mgmt/glusterd: remove volfile, brick file upon remove-brick Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1475 (glusterd should delete brick related files upon remove brick) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1475 --- xlators/mgmt/glusterd/src/glusterd-store.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-store.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-store.h b/xlators/mgmt/glusterd/src/glusterd-store.h index 10fb4a3a..29caa899 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.h +++ b/xlators/mgmt/glusterd/src/glusterd-store.h @@ -99,6 +99,9 @@ glusterd_store_update_peerinfo (glusterd_peerinfo_t *peerinfo); int32_t glusterd_store_delete_peerinfo (glusterd_peerinfo_t *peerinfo); +int32_t +glusterd_store_delete_brick (glusterd_volinfo_t *volinfo, + glusterd_brickinfo_t *brickinfo); int32_t glusterd_restore (); #endif -- cgit