1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

s3: smbd: Replace dptr_fsp() with dptr_fetch_lanman2_fsp() in reply_findclose().

Now we have no users of dptr_fsp() left.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2019-07-17 13:43:43 -07:00 committed by Ralph Boehme
parent b4431ad305
commit 37e1dd5af3

View File

@ -9726,7 +9726,7 @@ void reply_findclose(struct smb_request *req)
if (dptr_num == -1) {
dptr_closecnum(req->conn);
} else {
fsp = dptr_fsp(sconn, dptr_num);
fsp = dptr_fetch_lanman2_fsp(sconn, dptr_num);
dptr_close(sconn, &dptr_num);
if (fsp != NULL) {
close_file(NULL, fsp, NORMAL_CLOSE);