Revert "[VFS] Fixed crash on filename extraction from path."

This reverts commit 02f5316562.

It's not needed anymore thanks to 6cba5ba7e6
This commit is contained in:
Gliniak
2024-11-02 19:44:28 +01:00
parent 35cc2ccd7a
commit d393725353
18 changed files with 29 additions and 44 deletions

View File

@@ -20,15 +20,14 @@
namespace xe {
namespace vfs {
NullEntry::NullEntry(Device* device, Entry* parent, std::string path,
const std::string_view name)
: Entry(device, parent, path, name) {}
NullEntry::NullEntry(Device* device, Entry* parent, std::string path)
: Entry(device, parent, path) {}
NullEntry::~NullEntry() = default;
NullEntry* NullEntry::Create(Device* device, Entry* parent,
const std::string& path) {
auto entry = new NullEntry(device, parent, path, "");
auto entry = new NullEntry(device, parent, path);
entry->create_timestamp_ = 0;
entry->access_timestamp_ = 0;