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.
ยงErrors
Returns Err if the ioctl fails.