From 350db0bf2548bd670ebff4587580ba9ca9212ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Sun, 13 Dec 2009 21:56:28 +0100 Subject: [PATCH] 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(+) diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c index 1d099494e93..cade1170bab 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) {