Kernel: Make a copy of the dirty inode list before iterating in sync().

This commit is contained in:
Andreas Kling 2019-02-28 21:51:59 +01:00
parent bff5b71467
commit 6b581aff77
Notes: sideshowbarker 2024-07-19 15:35:05 +09:00
6 changed files with 18 additions and 8 deletions

View file

@ -20,7 +20,6 @@ Retained<Ext2FS> Ext2FS::create(Retained<DiskDevice>&& device)
Ext2FS::Ext2FS(Retained<DiskDevice>&& device)
: DiskBackedFS(move(device))
, m_lock("Ext2FS")
{
}