diff options
author | Volker Lendecke <vl@sernet.de> | 2007-12-05 15:34:07 +0100 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-12-05 15:47:32 +0100 |
commit | b2ca9253e9a1e394a5fc1c550d1b30e4853dc43b (patch) | |
tree | bafe1837ce73ebcbea77d609b6e8576778274f95 /source3/smbd/nttrans.c | |
parent | 195d6be38d9d721837a8d44ff918829528059cda (diff) | |
download | samba-b2ca9253e9a1e394a5fc1c550d1b30e4853dc43b.tar.gz samba-b2ca9253e9a1e394a5fc1c550d1b30e4853dc43b.tar.bz2 samba-b2ca9253e9a1e394a5fc1c550d1b30e4853dc43b.zip |
There's no point in passing down a 0
(This used to be commit 525a6887afcae8d8e740cf194a412c21da899649)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 8a177c8e76..fb85a67d0a 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -423,7 +423,6 @@ void reply_ntcreate_and_X(connection_struct *conn, struct smb_request *req) SMB_BIG_UINT allocation_size; /* Breakout the oplock request bits so we can set the reply bits separately. */ - int oplock_request = 0; uint32 fattr=0; SMB_OFF_T file_len = 0; SMB_STRUCT_STAT sbuf; @@ -501,7 +500,7 @@ void reply_ntcreate_and_X(connection_struct *conn, struct smb_request *req) status = create_file(conn, req, root_dir_fid, fname, flags, access_mask, file_attributes, share_access, create_disposition, create_options, - oplock_request, allocation_size, NULL, NULL, + allocation_size, NULL, NULL, &fsp, &info, &oplock_granted, &sbuf); if (!NT_STATUS_IS_OK(status)) { @@ -812,7 +811,6 @@ static void call_nt_transact_create(connection_struct *conn, char *params = *ppparams; char *data = *ppdata; /* Breakout the oplock request bits so we can set the reply bits separately. */ - int oplock_request = 0; uint32 fattr=0; SMB_OFF_T file_len = 0; SMB_STRUCT_STAT sbuf; @@ -946,7 +944,7 @@ static void call_nt_transact_create(connection_struct *conn, status = create_file(conn, req, root_dir_fid, fname, flags, access_mask, file_attributes, share_access, create_disposition, create_options, - oplock_request, allocation_size, sd, ea_list, + allocation_size, sd, ea_list, &fsp, &info, &oplock_granted, &sbuf); if(!NT_STATUS_IS_OK(status)) { |