Skip to main content

replace_cancel

Function replace_cancel 

Source
pub fn replace_cancel(fd: BorrowedFd<'_>) -> Result<bool>
Expand description

Cancel a running device replace operation on the filesystem referred to by fd.

Returns Ok(true) if the replace was successfully cancelled, or Ok(false) if no replace operation was in progress.