1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00

Kernel: Split the SysFS core files into smaller components

This commit is contained in:
Liav A 2022-10-23 21:51:56 +03:00 committed by Andrew Kaster
parent 7eed3dab5d
commit f53149d5f6
19 changed files with 234 additions and 148 deletions

View file

@ -0,0 +1,26 @@
/*
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/FileSystem/SysFS/Inode.h>
namespace Kernel {
class SysFSLinkInode : public SysFSInode {
friend class SysFS;
public:
static ErrorOr<NonnullLockRefPtr<SysFSLinkInode>> try_create(SysFS const&, SysFSComponent const&);
virtual ~SysFSLinkInode() override;
protected:
SysFSLinkInode(SysFS const&, SysFSComponent const&);
// ^Inode
virtual InodeMetadata metadata() const override;
};
}