From bf5c5841c443a8da5b8f73c27b2ed83420f2303e Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 18 Sep 2017 23:03:32 +0530 Subject: global options: add a sample option to handle Fixes #303 Change-Id: Icdaa804711c43c65b9684f2649437aae1b5c1ed5 Signed-off-by: Amar Tumballi --- libglusterfs/src/globals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/globals.h') diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index bf73f2e6671..1fc9b562b9b 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -98,6 +98,7 @@ #define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_3_6_0 #include "xlator.h" +#include "options.h" /* THIS */ #define THIS (*__glusterfs_this_location()) @@ -108,6 +109,7 @@ xlator_t *glusterfs_this_get (void); int glusterfs_this_set (xlator_t *); extern xlator_t global_xlator; +extern struct volume_options global_xl_options[]; /* syncopctx */ void *syncopctx_getctx (void); -- cgit