mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
FileSystem: Don't perform path resolution twice for open() with O_CREAT.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 13:39:48 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/487909dd7b8
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
KResultOr<Retained<FileDescription>> open(RetainPtr<Device>&&, int options);
|
||||
KResultOr<Retained<FileDescription>> open(StringView path, int options, mode_t mode, Custody& base);
|
||||
KResultOr<Retained<FileDescription>> create(StringView path, int options, mode_t mode, Custody& base);
|
||||
KResultOr<Retained<FileDescription>> create(StringView path, int options, mode_t mode, Custody& parent_custody);
|
||||
KResult mkdir(StringView path, mode_t mode, Custody& base);
|
||||
KResult link(StringView old_path, StringView new_path, Custody& base);
|
||||
KResult unlink(StringView path, Custody& base);
|
||||
|
||||
Reference in New Issue
Block a user