summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-20 18:57:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:15 -0500
commit49012954d055f2b7ed5a796f767e5c0535d80558 (patch)
tree6f407a8264f21c34703cba961349c9b28d627805 /source4/ntvfs
parent772c4928404bc26e5cc7cfdcba1f931ee0d0de82 (diff)
downloadsamba-49012954d055f2b7ed5a796f767e5c0535d80558.tar.gz
samba-49012954d055f2b7ed5a796f767e5c0535d80558.tar.bz2
samba-49012954d055f2b7ed5a796f767e5c0535d80558.zip
r15758: - handle RAW_FLUSH_SMB2 in the posix ntvfs backend
- Implement SMB2 Flush metze (This used to be commit 41d87ebe355cd34d35a93d1e90cd2680363cb5d3)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_flush.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_flush.c b/source4/ntvfs/posix/pvfs_flush.c
index 7bd973ed4e..2e64dc983d 100644
--- a/source4/ntvfs/posix/pvfs_flush.c
+++ b/source4/ntvfs/posix/pvfs_flush.c
@@ -48,7 +48,9 @@ NTSTATUS pvfs_flush(struct ntvfs_module_context *ntvfs,
switch (io->generic.level) {
case RAW_FLUSH_FLUSH:
- f = pvfs_find_fd(pvfs, req, io->flush.in.file.ntvfs);
+ case RAW_FLUSH_SMB2:
+ /* TODO: take care of io->smb2.in.unknown */
+ f = pvfs_find_fd(pvfs, req, io->generic.in.file.ntvfs);
if (!f) {
return NT_STATUS_INVALID_HANDLE;
}