diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-09 16:27:49 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-13 19:32:38 +0200 |
commit | c530009401f111bc62008a2a75cdad5b9d5ee7d1 (patch) | |
tree | 6390031d8b5372f7329bdecacf8f985ac0559b62 /source3/smbd/nttrans.c | |
parent | c3fedcddd5e79c60f5fcc0219752c27277a4d9f7 (diff) | |
download | samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.tar.gz samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.tar.bz2 samba-c530009401f111bc62008a2a75cdad5b9d5ee7d1.zip |
Pass struct smb_request to file_free
on the way to get rid of chain_fsp
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index baa91e2955..6361f7949a 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -1188,7 +1188,7 @@ static NTSTATUS copy_internals(TALLOC_CTX *ctx, &info, &fsp2); if (!NT_STATUS_IS_OK(status)) { - close_file(fsp1,ERROR_CLOSE); + close_file(NULL, fsp1, ERROR_CLOSE); return status; } @@ -1202,12 +1202,12 @@ static NTSTATUS copy_internals(TALLOC_CTX *ctx, * Thus we don't look at the error return from the * close of fsp1. */ - close_file(fsp1,NORMAL_CLOSE); + close_file(NULL, fsp1, NORMAL_CLOSE); /* Ensure the modtime is set correctly on the destination file. */ set_close_write_time(fsp2, get_mtimespec(&sbuf1)); - status = close_file(fsp2,NORMAL_CLOSE); + status = close_file(NULL, fsp2, NORMAL_CLOSE); /* Grrr. We have to do this as open_file_ntcreate adds aARCH when it creates the file. This isn't the correct thing to do in the copy |