summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs/xlator.h
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2019-06-24 19:24:05 +0530
committerAmar Tumballi <amarts@redhat.com>2019-07-02 03:10:19 +0000
commitcbc234d9ddfb7e2f0089d7ba9d1dd81b0367ba8f (patch)
tree0195bdf9461aa3fbee03acc1c237b7a7361d69ed /libglusterfs/src/glusterfs/xlator.h
parentc72b3f13452fcd9289230516f67d7c07951a8d5c (diff)
glusterfs-fops: fix the modularity
glusterfs-fops.h was moved to rpc/xdr to support compound fops. (ref: https://review.gluster.org/14032, 2f945b86d3) This was fine as long as all these header files were in single include directory after 'install'. With the move to separate out glusterfs specific header files into another directory inside /usr/include (ref: https://review.gluster.org/21746, 20ef211cfa), glusterfs-fops.h file was not in the proper path when an external .c file tried to include any of glusterfs specific .h file (like xlator.h). Now, we have removed compound-fops, with that, none of the enums declared in glusterfs-fops.h are actually getting used on wire anymore. Hence, it makes sense to get this to libglusterfs/src as a single point of definition. With this change, the external programs can use glusterfs header files. also remove some enum definitions which are not used in code anymore. Updates: bz#1636297 Change-Id: I423c44d3dbe2efc777299c544ece3cb172fc7e44 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs/xlator.h')
-rw-r--r--libglusterfs/src/glusterfs/xlator.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libglusterfs/src/glusterfs/xlator.h b/libglusterfs/src/glusterfs/xlator.h
index 42cbdc1ac93..cdf9d4e8a5d 100644
--- a/libglusterfs/src/glusterfs/xlator.h
+++ b/libglusterfs/src/glusterfs/xlator.h
@@ -11,12 +11,12 @@
#ifndef _XLATOR_H
#define _XLATOR_H
-#include <stdint.h> // for int32_t
-#include <sys/types.h> // for off_t, mode_t, off64_t, dev_t
-#include "glusterfs-fops.h" // for GF_FOP_MAXVALUE, entrylk_cmd
-#include "glusterfs/atomic.h" // for gf_atomic_t
-#include "glusterfs/glusterfs.h" // for gf_boolean_t, glusterfs_ctx_t
-#include "glusterfs/compat-uuid.h" // for uuid_t
+#include <stdint.h> // for int32_t
+#include <sys/types.h> // for off_t, mode_t, off64_t, dev_t
+#include "glusterfs/glusterfs-fops.h" // for GF_FOP_MAXVALUE, entrylk_cmd
+#include "glusterfs/atomic.h" // for gf_atomic_t
+#include "glusterfs/glusterfs.h" // for gf_boolean_t, glusterfs_ctx_t
+#include "glusterfs/compat-uuid.h" // for uuid_t
#include "glusterfs/compat.h"
#include "glusterfs/event-history.h"
#include "glusterfs/dict.h"