summaryrefslogtreecommitdiff
path: root/Kernel/VirtualFileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-01 15:36:45 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-01 15:36:45 +0100
commitfeed67ede2c7f41328625f58d1b92b5d2fce0c5d (patch)
tree33fcbc1df150ef9fdffd2b4344b5e65fb70cf8ad /Kernel/VirtualFileSystem.h
parent6618411fbacfe0169a569a695f29819e4153e5a4 (diff)
downloadserenity-feed67ede2c7f41328625f58d1b92b5d2fce0c5d.zip
Kernel: VFS::open/create should take base Inode& instead of InodeIdentifier.
Diffstat (limited to 'Kernel/VirtualFileSystem.h')
-rw-r--r--Kernel/VirtualFileSystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/VirtualFileSystem.h b/Kernel/VirtualFileSystem.h
index 0ef4995857..758ce13028 100644
--- a/Kernel/VirtualFileSystem.h
+++ b/Kernel/VirtualFileSystem.h
@@ -65,8 +65,8 @@ public:
bool mount(RetainPtr<FS>&&, const String& path);
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);
+ RetainPtr<FileDescriptor> open(const String& path, int& error, int options, mode_t mode, Inode& base);
+ RetainPtr<FileDescriptor> create(const String& path, int& error, int options, mode_t mode, Inode& base);
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);