summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/posix/pvfs_write.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-24 14:18:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:27 -0500
commit62e58ea7180e265ffe79b998e7488f20909d3fa0 (patch)
tree46fa704bed48db37a8d82989f0906a8724b5390e /source4/ntvfs/posix/pvfs_write.c
parent36e32628468ca4b84f06d45698771a6903b5c47f (diff)
downloadsamba-62e58ea7180e265ffe79b998e7488f20909d3fa0.tar.gz
samba-62e58ea7180e265ffe79b998e7488f20909d3fa0.tar.xz
samba-62e58ea7180e265ffe79b998e7488f20909d3fa0.zip
r3161: pvfs now passes the RAW-SEEK test
(This used to be commit a953d4a42c8fa3fe930c319d5157fc406a1035da)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_write.c')
-rw-r--r--source4/ntvfs/posix/pvfs_write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_write.c b/source4/ntvfs/posix/pvfs_write.c
index a7b7084a086..7ab1d340bdb 100644
--- a/source4/ntvfs/posix/pvfs_write.c
+++ b/source4/ntvfs/posix/pvfs_write.c
@@ -67,6 +67,8 @@ NTSTATUS pvfs_write(struct ntvfs_module_context *ntvfs,
if (ret == -1) {
return map_nt_error_from_unix(errno);
}
+
+ f->seek_offset = wr->writex.in.offset + ret;
wr->writex.out.nwritten = ret;
wr->writex.out.remaining = 0; /* should fill this in? */