diff options
Diffstat (limited to 'source3/smbd/smb2_find.c')
-rw-r--r-- | source3/smbd/smb2_find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_find.c b/source3/smbd/smb2_find.c index 6690adcb93..9a7738ab76 100644 --- a/source3/smbd/smb2_find.c +++ b/source3/smbd/smb2_find.c @@ -114,7 +114,7 @@ NTSTATUS smbd_smb2_request_process_find(struct smbd_smb2_request *req) if (req->compat_chain_fsp) { /* skip check */ - } else if (in_file_id_persistent != 0) { + } else if (in_file_id_persistent != in_file_id_volatile) { return smbd_smb2_request_error(req, NT_STATUS_FILE_CLOSED); } |