From 350db0bf2548bd670ebff4587580ba9ca9212ac8 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sun, 13 Dec 2009 21:56:28 +0100 Subject: vfs_commit: print warning when no fsync support is there this one was part of an old patch from jpeach. --- source3/modules/vfs_commit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/modules/vfs_commit.c') 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) { -- cgit