Skip to content

Commit

Permalink
Merge pull request #2868 from mulkieran/cache-used-value
Browse files Browse the repository at this point in the history
Get cached used value for filesystem in check()
  • Loading branch information
mulkieran authored Dec 8, 2021
2 parents bd5e2e3 + ce61a2e commit 3207be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/strat_engine/thinpool/filesystem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl StratFilesystem {
let mut needs_save = false;
let original_state = self.cached(|fs| StratFilesystemState {
size: fs.size(),
used: fs.used().ok(),
used: fs.used,
});
match self.thin_dev.status(get_dm(), DmOptions::default())? {
ThinStatus::Working(_) => {
Expand Down

0 comments on commit 3207be0

Please sign in to comment.