summaryrefslogtreecommitdiff
path: root/Kernel/VirtualFileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-01 15:29:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-01 15:29:11 +0100
commit6618411fbacfe0169a569a695f29819e4153e5a4 (patch)
tree4af3eeaf363f85903cfdc41bce6c68b86d14892a /Kernel/VirtualFileSystem.h
parent33e7df595505d0b52eab633ab5503b2318ee1461 (diff)
downloadserenity-6618411fbacfe0169a569a695f29819e4153e5a4.zip
Kernel: mkdir() should use the containing directory's FS for inode creation.
Diffstat (limited to 'Kernel/VirtualFileSystem.h')
-rw-r--r--Kernel/VirtualFileSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/VirtualFileSystem.h b/Kernel/VirtualFileSystem.h
index a647daeac0..0ef4995857 100644
--- a/Kernel/VirtualFileSystem.h
+++ b/Kernel/VirtualFileSystem.h
@@ -67,7 +67,7 @@ public:
RetainPtr<FileDescriptor> open(RetainPtr<CharacterDevice>&&, int& error, int options);
RetainPtr<FileDescriptor> open(const String& path, int& error, int options, mode_t mode, InodeIdentifier base = InodeIdentifier());
RetainPtr<FileDescriptor> create(const String& path, int& error, int options, mode_t mode, InodeIdentifier base);
- bool mkdir(const String& path, mode_t mode, InodeIdentifier base, int& error);
+ bool mkdir(const String& path, mode_t mode, Inode& base, int& error);
bool unlink(const String& path, Inode& base, int& error);
bool rmdir(const String& path, Inode& base, int& error);
bool chmod(const String& path, mode_t, Inode& base, int& error);