search for: lp_kernel_oplocks

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

2023 Jan 24
2
oplocks, kernel oplocks, kernel share modes, .. - how it all works?
.../* 2730 * The SMB2 layer should have checked this 2731 */ 2732 return NT_STATUS_INTERNAL_ERROR; 2733 } 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 furth...