mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
FileSystem: Don't perform path resolution twice for open() with O_CREAT.
This commit is contained in:
parent
51d70996ba
commit
487909dd7b
2 changed files with 13 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue