Skip to main content

break_dir_lease_wait

Function break_dir_lease_wait 

Source
pub(crate) async fn break_dir_lease_wait(
    server: &Arc<ServerShared>,
    conn: &Smb2Conn,
    dir: &str,
    owner: [u8; 16],
    clear: u32,
)
Expand description

Break a directory lease and wait (briefly) for the holder to acknowledge, as a HANDLE-caching break requires before the conflicting operation may proceed ([MS-SMB2] §3.3.1.4).