summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-06-21 04:26:14 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-21 20:21:17 -0700
commit7ac6287fb65bdddf3874f3a2c2602e857fbc6b87 (patch)
tree52865ed0410b28c5a6c5b0b4855b5c11ba495b4a /libglusterfs/src
parent002ab96fd30f8924533fc454ecea00be04c013d5 (diff)
misc updates in mainline
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/defaults.c2
-rw-r--r--libglusterfs/src/xlator.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libglusterfs/src/defaults.c b/libglusterfs/src/defaults.c
index 7da589d60fa..77364918f8b 100644
--- a/libglusterfs/src/defaults.c
+++ b/libglusterfs/src/defaults.c
@@ -1277,7 +1277,7 @@ default_notify (xlator_t *this, int32_t event, void *data, ...)
{
xlator_list_t *parent = this->parents;
while (parent) {
- if (parent->xlator->ready)
+ if (parent->xlator->init_succeeded)
xlator_notify (parent->xlator, event,
this, NULL);
parent = parent->next;
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index 142423da2f3..38ef4bf8524 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -836,7 +836,6 @@ struct _xlator {
glusterfs_ctx_t *ctx;
glusterfs_graph_t *graph; /* not set for fuse */
inode_table_t *itable;
- char ready;
char init_succeeded;
void *private;
struct mem_acct mem_acct;