diff options
author | Alex Auvolat <alex@adnab.me> | 2023-09-07 15:30:56 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-09-07 15:30:56 +0200 |
commit | 2657b5c1b911b7c5f2d97f8c564e60202ddf4124 (patch) | |
tree | 130898ddcd7ae174c6ed3b55889a7939dd9d2c8f /src/block/layout.rs | |
parent | eb972a8422e19e1eaf69281571f4e52f9c7794ff (diff) | |
download | garage-2657b5c1b911b7c5f2d97f8c564e60202ddf4124.tar.gz garage-2657b5c1b911b7c5f2d97f8c564e60202ddf4124.zip |
block manager: fix bugs
Diffstat (limited to 'src/block/layout.rs')
-rw-r--r-- | src/block/layout.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/block/layout.rs b/src/block/layout.rs index e32ef785..1d8f4cda 100644 --- a/src/block/layout.rs +++ b/src/block/layout.rs @@ -200,7 +200,6 @@ impl DataLayout { // it might have been removed and added again and might contain data, // so add it as a secondary storage location for all partitions // to make sure existing files are not lost - let mut part_sec = vec![vec![]; DRIVE_NPART]; for (i, dd) in data_dirs.iter().enumerate() { if self.data_dirs.iter().any(|ed| ed.path == dd.path) { continue; |