From 063d4ead61ee47433793de81a1c77e0ba69e6e07 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Fri, 16 Oct 2015 13:52:28 -0400 Subject: core: use syscall wrappers instead of direct syscalls -- glusterd various xlators and other components are invoking system calls directly instead of using the libglusterfs/syscall.[ch] wrappers. If not using the system call wrappers there should be a comment in the source explaining why the wrapper isn't used. Change-Id: I28bf2a5f7730b35914e7ab57fed91e1966b30073 BUG: 1267967 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/12379 Tested-by: Gluster Build System Reviewed-by: Jeff Darcy --- libglusterfs/src/syscall.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/syscall.h b/libglusterfs/src/syscall.h index bbf23bef07b..037f6c64acb 100644 --- a/libglusterfs/src/syscall.h +++ b/libglusterfs/src/syscall.h @@ -11,6 +11,10 @@ #ifndef __SYSCALL_H__ #define __SYSCALL_H__ +#include +#include +#include + /* GF follows the Linux XATTR definition, which differs in Darwin. */ #define GF_XATTR_CREATE 0x1 /* set value, fail if attr already exists */ #define GF_XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ -- cgit