mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3: smbd: Remove dptr_close() from call_trans2findnext().
Now we're handle-based close_file() already does what is needed to shut down directory enumeration. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
269fbc9164
commit
779dd3f1e6
@ -3492,7 +3492,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
|
||||
/* Check if we can close the fsp->dptr */
|
||||
if(close_after_request || (finished && close_if_end)) {
|
||||
DEBUG(5,("call_trans2findnext: closing dptr_num = %d\n", dptr_num));
|
||||
dptr_close(sconn, &dptr_num); /* This frees up the saved mask */
|
||||
dptr_num = -1;
|
||||
close_file(NULL, fsp, NORMAL_CLOSE);
|
||||
fsp = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user