Serenity Operating System
1/*
2 * Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
3 *
4 * SPDX-License-Identifier: BSD-2-Clause
5 */
6
7#pragma once
8
9#include <AK/OwnPtr.h>
10#include <AK/Types.h>
11#include <Kernel/FileSystem/Inode.h>
12#include <Kernel/KString.h>
13
14namespace Kernel {
15
16struct Ext2FSDirectoryEntry {
17 NonnullOwnPtr<KString> name;
18 InodeIndex inode_index { 0 };
19 u8 file_type { 0 };
20 u16 record_length { 0 };
21};
22
23}