From 62e58ea7180e265ffe79b998e7488f20909d3fa0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 24 Oct 2004 14:18:03 +0000 Subject: r3161: pvfs now passes the RAW-SEEK test (This used to be commit a953d4a42c8fa3fe930c319d5157fc406a1035da) --- source4/ntvfs/posix/pvfs_write.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/ntvfs/posix/pvfs_write.c') diff --git a/source4/ntvfs/posix/pvfs_write.c b/source4/ntvfs/posix/pvfs_write.c index a7b7084a08..7ab1d340bd 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? */ -- cgit