summaryrefslogtreecommitdiff
path: root/source4/ntvfs/nbench
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-02 04:51:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:16 -0500
commit2df2d1b67f9bf2907f452688b2c54b73052cfb49 (patch)
tree7ba795ae61cc288b13d47ef7e3d5759d4c45cbc0 /source4/ntvfs/nbench
parent477ab1d2ab2d7bc1264a19502b192f1933262414 (diff)
downloadsamba-2df2d1b67f9bf2907f452688b2c54b73052cfb49.tar.gz
samba-2df2d1b67f9bf2907f452688b2c54b73052cfb49.tar.bz2
samba-2df2d1b67f9bf2907f452688b2c54b73052cfb49.zip
r3461: another place where "open" was used as a structure element
(This used to be commit 1087ea830e7aead86d54a1836512e88554afc919)
Diffstat (limited to 'source4/ntvfs/nbench')
-rw-r--r--source4/ntvfs/nbench/vfs_nbench.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c
index 8820279584..eef407638b 100644
--- a/source4/ntvfs/nbench/vfs_nbench.c
+++ b/source4/ntvfs/nbench/vfs_nbench.c
@@ -280,7 +280,7 @@ static NTSTATUS nbench_setpathinfo(struct ntvfs_module_context *ntvfs,
/*
open a file
*/
-static void nbench_open_send(struct smbsrv_request *req)
+static void nbench_openfile_send(struct smbsrv_request *req)
{
union smb_open *io = req->async_states->private_data;
@@ -306,12 +306,12 @@ static void nbench_open_send(struct smbsrv_request *req)
PASS_THRU_REP_POST(req);
}
-static NTSTATUS nbench_open(struct ntvfs_module_context *ntvfs,
- struct smbsrv_request *req, union smb_open *io)
+static NTSTATUS nbench_openfile(struct ntvfs_module_context *ntvfs,
+ struct smbsrv_request *req, union smb_open *io)
{
NTSTATUS status;
- PASS_THRU_REQ(ntvfs, req, open, io, (ntvfs, req, io));
+ PASS_THRU_REQ(ntvfs, req, openfile, io, (ntvfs, req, io));
return status;
}
@@ -874,7 +874,7 @@ NTSTATUS ntvfs_nbench_init(void)
ops.chkpath = nbench_chkpath;
ops.qpathinfo = nbench_qpathinfo;
ops.setpathinfo = nbench_setpathinfo;
- ops.open = nbench_open;
+ ops.openfile = nbench_openfile;
ops.mkdir = nbench_mkdir;
ops.rmdir = nbench_rmdir;
ops.rename = nbench_rename;