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

@@ -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),