maps: sort variants

Missed in 5e637071c1 due to merge skew
with 7b71c7e1cd.
pull/814/head
Tamir Duberstein 1 year ago
parent 715d49022e
commit 8462b69716
No known key found for this signature in database

@ -317,25 +317,25 @@ impl Map {
pub fn pin<P: AsRef<Path>>(&mut self, path: P) -> Result<(), PinError> { pub fn pin<P: AsRef<Path>>(&mut self, path: P) -> Result<(), PinError> {
match self { match self {
Self::Array(map) => map.pin(path), Self::Array(map) => map.pin(path),
Self::PerCpuArray(map) => map.pin(path), Self::BloomFilter(map) => map.pin(path),
Self::ProgramArray(map) => map.pin(path), Self::CpuMap(map) => map.pin(path),
Self::DevMap(map) => map.pin(path),
Self::DevMapHash(map) => map.pin(path),
Self::HashMap(map) => map.pin(path), Self::HashMap(map) => map.pin(path),
Self::LpmTrie(map) => map.pin(path),
Self::LruHashMap(map) => map.pin(path), Self::LruHashMap(map) => map.pin(path),
Self::PerCpuArray(map) => map.pin(path),
Self::PerCpuHashMap(map) => map.pin(path), Self::PerCpuHashMap(map) => map.pin(path),
Self::PerCpuLruHashMap(map) => map.pin(path), Self::PerCpuLruHashMap(map) => map.pin(path),
Self::PerfEventArray(map) => map.pin(path), Self::PerfEventArray(map) => map.pin(path),
Self::ProgramArray(map) => map.pin(path),
Self::Queue(map) => map.pin(path),
Self::SockHash(map) => map.pin(path), Self::SockHash(map) => map.pin(path),
Self::SockMap(map) => map.pin(path), Self::SockMap(map) => map.pin(path),
Self::BloomFilter(map) => map.pin(path),
Self::LpmTrie(map) => map.pin(path),
Self::Stack(map) => map.pin(path), Self::Stack(map) => map.pin(path),
Self::StackTraceMap(map) => map.pin(path), Self::StackTraceMap(map) => map.pin(path),
Self::Queue(map) => map.pin(path),
Self::CpuMap(map) => map.pin(path),
Self::DevMap(map) => map.pin(path),
Self::DevMapHash(map) => map.pin(path),
Self::XskMap(map) => map.pin(path),
Self::Unsupported(map) => map.pin(path), Self::Unsupported(map) => map.pin(path),
Self::XskMap(map) => map.pin(path),
} }
} }
} }

Loading…
Cancel
Save