Fix mkdir with relative paths.

This commit is contained in:
Andreas Kling 2018-11-18 23:28:43 +01:00
parent de4604ac95
commit f5a0b6961c
Notes: sideshowbarker 2024-07-19 16:09:48 +09:00
5 changed files with 49 additions and 185 deletions
VirtualFileSystem

View file

@ -1011,7 +1011,7 @@ InodeIdentifier Ext2FS::create_inode(InodeIdentifier parentInode, const String&
ASSERT(parentInode.fsid() == id());
ASSERT(isDirectoryInode(parentInode.index()));
dbgprintf("Ext2FS: Adding inode '%s' (mode %o) to parent directory %u:\n", name.characters(), mode, parentInode.index());
dbgprintf("Ext2FS: Adding inode '%s' (mode %u) to parent directory %u:\n", name.characters(), mode, parentInode.index());
// NOTE: This doesn't commit the inode allocation just yet!
auto inode = allocateInode(0, 0);