From 2df2d1b67f9bf2907f452688b2c54b73052cfb49 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Nov 2004 04:51:57 +0000 Subject: r3461: another place where "open" was used as a structure element (This used to be commit 1087ea830e7aead86d54a1836512e88554afc919) --- source4/ntvfs/nbench/vfs_nbench.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/ntvfs/nbench/vfs_nbench.c') 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; -- cgit