mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
Kernel: More use of NonnullRefPtrVector in the kernel.
This commit is contained in:
@@ -58,15 +58,15 @@ void FS::sync()
|
||||
{
|
||||
Inode::sync();
|
||||
|
||||
Vector<NonnullRefPtr<FS>, 32> fses;
|
||||
NonnullRefPtrVector<FS, 32> fses;
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
for (auto& it : all_fses())
|
||||
fses.append(*it.value);
|
||||
}
|
||||
|
||||
for (auto fs : fses)
|
||||
fs->flush_writes();
|
||||
for (auto& fs : fses)
|
||||
fs.flush_writes();
|
||||
}
|
||||
|
||||
void FS::lock_all()
|
||||
|
||||
Reference in New Issue
Block a user