Function librbd_sys::rbd_snap_protect [] [src]

pub unsafe extern "C" fn rbd_snap_protect(
    image: rbd_image_t,
    snap_name: *const c_char
) -> c_int

Prevent a snapshot from being deleted until it is unprotected.