diff options
author | Mohammed Junaid <junaid@redhat.com> | 2013-01-29 09:55:26 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-02-03 12:11:31 -0800 |
commit | 34d8edf58ac0379d7495e57c9a846cdec3794b0d (patch) | |
tree | 9c3af962120c8911757a7a2d790971add0f2a1f6 /xlators/cluster/dht/src/dht-common.c | |
parent | 26d9d2bd27dd9e6ed9a77789afea0944032223d8 (diff) |
gfapi: Mark fs->init status done in glfs_init_done for the case of glfs_init_async.
This seen when we call glfs_init_async. The glfs_init_done function,
calls the call-back function without assigning 1 to fs->init. The problem
occurs when we call glfs_read or a similar api next time which checks if
fs->init is 1 and will enter into an infinite wait if it is zero.
Change-Id: I34a3d1652c80e737f5b05082a3fbb6e5978b14cd
BUG: 839950
Signed-off-by: Mohammed Junaid <junaid@redhat.com>
Reviewed-on: http://review.gluster.org/4445
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
0 files changed, 0 insertions, 0 deletions