mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
Kernel: Enable early-returns from VFS::for_each_mount
This commit is contained in:
parent
735da58d44
commit
88ca12f037
Notes:
sideshowbarker
2024-07-18 01:43:09 +09:00
Author: https://github.com/BenWiederhake
Commit: 88ca12f037
Pull-request: https://github.com/SerenityOS/serenity/pull/10707
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