summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/xlator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index d0c8ae83643..b8222911a59 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -926,6 +926,8 @@ struct _xlator {
void *private;
};
+#define xlator_has_parent(xl) (xl->parents != NULL)
+
int validate_xlator_volume_options (xlator_t *xl, volume_option_t *opt);
int32_t xlator_set_type (xlator_t *xl, const char *type);