mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
vfs_commit: print warning when no fsync support is there
this one was part of an old patch from jpeach.
This commit is contained in:
parent
c01f443ebc
commit
350db0bf25
@ -88,6 +88,8 @@ static int commit_do(
|
||||
#elif HAVE_FSYNC
|
||||
result = fsync(fd);
|
||||
#else
|
||||
DEBUG(0, ("%s: WARNING: no commit support on this platform\n",
|
||||
MODULE));
|
||||
result = 0
|
||||
#endif
|
||||
if (result == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user