mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 17:58:11 +00:00
Kernel: Enable early-returns from VFS::for_each_mount
This commit is contained in:
parent
735da58d44
commit
88ca12f037
4 changed files with 19 additions and 15 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
KResult mknod(StringView path, mode_t, dev_t, Custody& base);
|
||||
KResultOr<NonnullRefPtr<Custody>> open_directory(StringView path, Custody& base);
|
||||
|
||||
void for_each_mount(Function<void(const Mount&)>) const;
|
||||
void for_each_mount(Function<IterationDecision(const Mount&)>) const;
|
||||
|
||||
InodeIdentifier root_inode_id() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue