git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c01f443
)
vfs_commit: print warning when no fsync support is there
author
Björn Jacke
<bj@sernet.de>
Sun, 13 Dec 2009 20:56:28 +0000
(21:56 +0100)
committer
Björn Jacke
<bj@sernet.de>
Wed, 6 Jan 2010 17:28:16 +0000
(18:28 +0100)
this one was part of an old patch from jpeach.
source3/modules/vfs_commit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_commit.c
b/source3/modules/vfs_commit.c
index 1d099494e935d8bfd6efcc873540330898d3b81f..cade1170bab445801c31959937710f6e385821c6 100644
(file)
--- 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) {