summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 0cee2ba3868..6e2d370605b 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -345,7 +345,6 @@ struct _cmd_args {
int acl;
int selinux;
int capability;
- char *oom_score_adj;
int enable_ino32;
int worm;
int mac_compat;
@@ -391,6 +390,11 @@ struct _cmd_args {
/* Should management connections use SSL? */
int secure_mgmt;
+
+ /* Linux-only OOM killer adjustment */
+#ifdef GF_LINUX_HOST_OS
+ char *oom_score_adj;
+#endif
};
typedef struct _cmd_args cmd_args_t;