mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
Convert some FS methods to return RetainPtr<Inode>.
This commit is contained in:
@@ -306,7 +306,7 @@ bool VFS::mkdir(const String& path, mode_t mode, InodeIdentifier base, int& erro
|
||||
}
|
||||
dbgprintf("VFS::mkdir: '%s' in %u:%u\n", p.basename().characters(), parent_dir.fsid(), parent_dir.index());
|
||||
auto new_dir = base.fs()->create_directory(parent_dir, p.basename(), mode, error);
|
||||
if (new_dir.is_valid()) {
|
||||
if (new_dir) {
|
||||
error = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user