summaryrefslogtreecommitdiff
path: root/source3/smbd/fake_file.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-09 15:38:53 +0200
committerVolker Lendecke <vl@samba.org>2008-10-13 19:32:38 +0200
commitc3fedcddd5e79c60f5fcc0219752c27277a4d9f7 (patch)
tree8248641a0fbedb7d87072cfc2e852683b2da3267 /source3/smbd/fake_file.c
parent3bbe5e88e55a92a177260310daffd6deae551ba3 (diff)
downloadsamba-c3fedcddd5e79c60f5fcc0219752c27277a4d9f7.tar.gz
samba-c3fedcddd5e79c60f5fcc0219752c27277a4d9f7.tar.bz2
samba-c3fedcddd5e79c60f5fcc0219752c27277a4d9f7.zip
Pass struct smb_request to file_new
Goal is to remove the chain_fsp global variable
Diffstat (limited to 'source3/smbd/fake_file.c')
-rw-r--r--source3/smbd/fake_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/fake_file.c b/source3/smbd/fake_file.c
index 1761cb66a8..3887483507 100644
--- a/source3/smbd/fake_file.c
+++ b/source3/smbd/fake_file.c
@@ -98,7 +98,7 @@ enum FAKE_FILE_TYPE is_fake_file(const char *fname)
Open a fake quota file with a share mode.
****************************************************************************/
-NTSTATUS open_fake_file(connection_struct *conn,
+NTSTATUS open_fake_file(struct smb_request *req, connection_struct *conn,
uint16_t current_vuid,
enum FAKE_FILE_TYPE fake_file_type,
const char *fname,
@@ -118,7 +118,7 @@ NTSTATUS open_fake_file(connection_struct *conn,
}
- status = file_new(conn, &fsp);
+ status = file_new(req, conn, &fsp);
if(!NT_STATUS_IS_OK(status)) {
return status;
}