Skip to content

Commit

Permalink
Allow clippy::too_many_arguments for CacheDev new() and setup()
Browse files Browse the repository at this point in the history
  • Loading branch information
bmr-cymru committed Apr 24, 2023
1 parent 03f9f8b commit c9139b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cachedev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ impl DmDevice<CacheDevTargetTable> for CacheDev {
impl CacheDev {
/// Construct a new CacheDev with the given data and meta devs.
/// Returns an error if the device is already known to the kernel.
#[allow(clippy::too_many_arguments)]
pub fn new(
dm: &DM,
name: &DmName,
Expand Down Expand Up @@ -590,6 +591,7 @@ impl CacheDev {
}

/// Set up a cache device from the given metadata and data devices.
#[allow(clippy::too_many_arguments)]
pub fn setup(
dm: &DM,
name: &DmName,
Expand Down

0 comments on commit c9139b0

Please sign in to comment.