summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_commit.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-11-30 18:51:27 +0100
committerVolker Lendecke <vlendec@samba.org>2011-11-30 21:46:09 +0100
commitb638abf70a3c9b2815344454946c0931295551be (patch)
tree139aeaa2c18bfc333bdbc0ccf57caf8c66c9067f /source3/modules/vfs_commit.c
parent456c69f95e7a672c4cc9a5e6e52fb37e14012304 (diff)
downloadsamba-b638abf70a3c9b2815344454946c0931295551be.tar.gz
samba-b638abf70a3c9b2815344454946c0931295551be.tar.bz2
samba-b638abf70a3c9b2815344454946c0931295551be.zip
s3: Attempt to fix the vfs_commit module
This bug went in in 2007. I wonder how much this module is actually used.... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 21:46:09 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/modules/vfs_commit.c')
-rw-r--r--source3/modules/vfs_commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_commit.c b/source3/modules/vfs_commit.c
index 8bd8181b13..af1f98b20f 100644
--- a/source3/modules/vfs_commit.c
+++ b/source3/modules/vfs_commit.c
@@ -235,7 +235,7 @@ static int commit_open(
c->eof = st.st_ex_size;
}
- return 0;
+ return fd;
}
static ssize_t commit_write(