diff options
author | Pranith K <pranithk@gluster.com> | 2011-02-21 04:02:24 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-22 02:11:47 -0800 |
commit | 595e0df48bf387a87eb62a76d437a7ea79a0bc8a (patch) | |
tree | 990c49a0e82043f53b0c3744b5fa3281c987e92a /xlators/mgmt/glusterd/src/glusterd.h | |
parent | b00b3d46c226d339a1cfde70ceab101cee2ac865 (diff) |
mgmt/glusterd: In store-retrieve exit with error message instead of crashing.
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2066 (glusterd crashed while trying to restore volumes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2066
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 1fb734c503f..43a14f297d6 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -80,6 +80,7 @@ typedef enum glusterd_op_ { struct glusterd_store_iter_ { int fd; FILE *file; + char filepath[PATH_MAX]; }; typedef struct glusterd_store_iter_ glusterd_store_iter_t; |