mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-19 22:46:34 -05:00
general code cleanup
This commit is contained in:
parent
5a1a60742e
commit
9d9ee7b71d
178 changed files with 5100 additions and 5255 deletions
|
|
@ -31,18 +31,18 @@ namespace fs
|
|||
static
|
||||
inline
|
||||
int
|
||||
fsync(const int fd)
|
||||
fsync(const int fd_)
|
||||
{
|
||||
return ::fsync(fd);
|
||||
return ::fsync(fd_);
|
||||
}
|
||||
|
||||
static
|
||||
inline
|
||||
int
|
||||
fdatasync(const int fd)
|
||||
fdatasync(const int fd_)
|
||||
{
|
||||
#if _POSIX_SYNCHRONIZED_IO > 0
|
||||
return ::fdatasync(fd);
|
||||
return ::fdatasync(fd_);
|
||||
#else
|
||||
return (errno=ENOSYS,-1);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue