Displaying 1 result from an estimated 1 matches for "smb2_lease_handl".
Did you mean:
smb2_lease_handle
2023 Jan 24
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
...granted = SMB2_LEASE_NONE;
2740 }
so you end up with oplock_request == LEASE_OPLOCK, granted=SMB2_LEASE_NONE.
then further down is:
2781 if (oplock_request == LEASE_OPLOCK) {
2782 if (state.got_oplock) {
2783 granted &= ~SMB2_LEASE_HANDLE;
2784 }
2785
2786 fsp->oplock_type = LEASE_OPLOCK;
2787
2788 status = grant_fsp_lease(fsp, lck, lease, granted);
2789 if (!NT_STATUS_IS_OK(status)) {
2790 return status;
2791
2792 }
2793...