From e3571d4aab9b727715f0e51d12e6e0596f0111ce Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Tue, 3 May 2011 05:04:57 +0000 Subject: glusterd: Checked brick path length in 'staging'. Added checks for brick path length in 'staging' of add/replace brick and create_volume subcommands. Signed-off-by: Krishnan Parthasarathi Signed-off-by: Anand Avati BUG: 2847 (volume creation fails if brick path is long) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2847 --- xlators/mgmt/glusterd/src/glusterd-store.h | 2 ++ 1 file changed, 2 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 0403c10f955..9d6462335d9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.h +++ b/xlators/mgmt/glusterd/src/glusterd-store.h @@ -125,4 +125,6 @@ glusterd_restore (); void glusterd_perform_volinfo_version_action (glusterd_volinfo_t *volinfo, glusterd_volinfo_ver_ac_t ac); +gf_boolean_t +glusterd_store_is_valid_brickpath (char *volname, char *brick); #endif -- cgit