summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-12-13 21:56:28 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-06 18:28:16 +0100
commit350db0bf2548bd670ebff4587580ba9ca9212ac8 (patch)
tree79ed392816cb1b3a8662bcea163af958d7d21439 /source3
parentc01f443ebca5e0b6f65fe8b3ab031da51dce2e89 (diff)
downloadsamba-350db0bf2548bd670ebff4587580ba9ca9212ac8.tar.gz
samba-350db0bf2548bd670ebff4587580ba9ca9212ac8.tar.bz2
samba-350db0bf2548bd670ebff4587580ba9ca9212ac8.zip
vfs_commit: print warning when no fsync support is there
this one was part of an old patch from jpeach.
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_commit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
index 1d099494e9..cade1170ba 100644
--- a/source3/modules/vfs_commit.c
+++ b/source3/modules/vfs_commit.c
@@ -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) {