search for: smb2_lease_non

Displaying 1 result from an estimated 1 matches for "smb2_lease_non".

Did you mean: smb2_lease_none
2023 Jan 24
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
...3 } 2734 2735 granted = lease->lease_state; 2736 2737 if (lp_kernel_oplocks(SNUM(fsp->conn))) { 2738 DEBUG(10, ("No lease granted because kernel oplocks are enabled\n")); 2739 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...