summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_flush.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-01 10:58:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:19 -0500
commit529c5dae51c1e782e095bf96b7ab2ca95ccbb856 (patch)
tree004e15d09c971393e52127c0342e009f9b71c7c7 /source4/ntvfs/posix/pvfs_flush.c
parent2c4eece60489fa3d0d7aba1c1c3eec84750461fb (diff)
downloadsamba-529c5dae51c1e782e095bf96b7ab2ca95ccbb856.tar.gz
samba-529c5dae51c1e782e095bf96b7ab2ca95ccbb856.tar.bz2
samba-529c5dae51c1e782e095bf96b7ab2ca95ccbb856.zip
r17362: session_info and smbpid are available from the ntvfs_handle
so we don't need them on the pvfs_file struct. also we don't need to check is the handle has the correct session as this is job of the frontend server metze (This used to be commit c83501335f245ac73b9d53c12efee3d46b8c5b05)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_flush.c')
-rw-r--r--source4/ntvfs/posix/pvfs_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_flush.c b/source4/ntvfs/posix/pvfs_flush.c
index 0f5a07071b..a9f36d1ae1 100644
--- a/source4/ntvfs/posix/pvfs_flush.c
+++ b/source4/ntvfs/posix/pvfs_flush.c
@@ -67,7 +67,7 @@ NTSTATUS pvfs_flush(struct ntvfs_module_context *ntvfs,
* for the given SMBPID
*/
for (f=pvfs->files.list;f;f=f->next) {
- if (f->smbpid != req->smbpid) continue;
+ if (f->ntvfs->smbpid != req->smbpid) continue;
pvfs_flush_file(pvfs, f);
}