Skip to content

Commit 209d186

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 f13fd33 commit 209d186

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
@@ -413,7 +413,6 @@ async def _commit(self, vid_to_commit=None, keep=False):
413413
cmd = ['rename', self.vid,
414414
'{}-{}-back'.format(self.vid, int(time.time()))]
415415
await qubes_lvm_coro(cmd, self.log)
416-
await reset_cache_coro()
417416

418417
cmd = ['clone' if keep else 'rename',
419418
vid_to_commit,

0 commit comments

Comments
 (0)