Skip to content

Commit 3f327c6

Browse files
committed
Remove a redundant cache invalidation
There is no need to invalidate a cache if nothing will access it before it is invalidated again.
1 parent b5dd800 commit 3f327c6

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

qubes/storage/lvm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,6 @@ async def _commit(self, vid_to_commit=None, keep=False):
411411
cmd = ['rename', self.vid,
412412
'{}-{}-back'.format(self.vid, int(time.time()))]
413413
await qubes_lvm_coro(cmd, self.log)
414-
await reset_cache_coro()
415414

416415
cmd = ['clone' if keep else 'rename',
417416
vid_to_commit,

0 commit comments

Comments
 (0)