mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
smbd: Use dptr_RewindDir() instead of dptr_SeekDir(.., 0)
This is a more focused call. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
2498a48abc
commit
2b725480dd
@ -440,7 +440,7 @@ static struct tevent_req *smbd_smb2_query_directory_send(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
if (in_flags & SMB2_CONTINUE_FLAG_RESTART) {
|
||||
dptr_SeekDir(fsp->dptr, 0);
|
||||
dptr_RewindDir(fsp->dptr);
|
||||
}
|
||||
|
||||
if (in_flags & SMB2_CONTINUE_FLAG_SINGLE) {
|
||||
|
Loading…
Reference in New Issue
Block a user