block: reevaluate #[allow] attributes

Convert the still-needed #[allow]s to #[expect] so they warn if the
lints stop firing.

Part of #8326.

Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
Tushar Khatri
2026-06-17 16:05:02 +00:00
committed by Bo Chen
parent 9c0bceceb1
commit 7be97937ef
2 changed files with 2 additions and 2 deletions

View File

@@ -321,7 +321,7 @@ impl QcowAsync {
/// Returns `Some(host_offset)` if the entire read falls within a single
/// allocated cluster (fast path). Otherwise handles the read
/// synchronously via `scatter_read_sync` and returns `None`.
#[allow(clippy::too_many_arguments)]
#[expect(clippy::too_many_arguments)]
fn resolve_read(
metadata: &QcowMetadata,
data_file: &QcowRawFile,

View File

@@ -34,7 +34,7 @@ pub enum LockError {
}
/// Commands for use with [`fcntl`].
#[allow(non_camel_case_types)]
#[expect(non_camel_case_types)]
enum FcntlArg<'a> {
/// Set an OFD lock from the given lock description.
F_OFD_SETLK(&'a libc::flock),