diff options
author | Anand Avati <avati@redhat.com> | 2012-08-01 23:18:40 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-08-02 13:22:28 -0700 |
commit | a3072499338b2d86f5cc3ac83f49c5249dc97778 (patch) | |
tree | 3aa872ea29631890f88f6a9bd70efad9fa741cc4 /api/src/glfs-internal.h | |
parent | a9e3e24dd3c1afe7cb573b653040478a0f1210e6 (diff) |
gfapi: set errno in glfs_init()
save errno from glfs_init_done and set it in glfs_init_wait()
Change-Id: I1a2f43a7e7b0f07f279c175df987ff94d642b629
BUG: 839950
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.com/3771
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 0d67b6e249d..6380cd2ae2b 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -30,6 +30,7 @@ struct glfs { pthread_cond_t cond; int init; int ret; + int err; xlator_t *active_subvol; |