// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2019 Linaro Limited. All rights reserved. * Author: Sumit Garg */ #ifndef LAPI_SYNCFS_H__ #define LAPI_SYNCFS_H__ #include "config.h" #include #include "lapi/syscalls.h" #if !defined(HAVE_SYNCFS) static inline int syncfs(int fd) { return tst_syscall(__NR_syncfs, fd); } #endif #endif /* LAPI_SYNCFS_H__ */