1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2019 Linaro Limited. All rights reserved. 4 * Author: Sumit Garg <sumit.garg@linaro.org> 5 */ 6 7 #ifndef SYNCFS_H 8 #define SYNCFS_H 9 10 #include "config.h" 11 #include <sys/types.h> 12 #include "lapi/syscalls.h" 13 14 #if !defined(HAVE_SYNCFS) syncfs(int fd)15int syncfs(int fd) 16 { 17 return tst_syscall(__NR_syncfs, fd); 18 } 19 #endif 20 21 #endif /* SYNCFS_H */ 22