/* * Copyright (c) 2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace Kernel { NonnullRefPtr PrivateInodeVMObject::create_with_inode(Inode& inode) { return adopt_ref(*new PrivateInodeVMObject(inode, inode.size())); } RefPtr PrivateInodeVMObject::clone() { return adopt_ref(*new PrivateInodeVMObject(*this)); } PrivateInodeVMObject::PrivateInodeVMObject(Inode& inode, size_t size) : InodeVMObject(inode, size) { } PrivateInodeVMObject::PrivateInodeVMObject(const PrivateInodeVMObject& other) : InodeVMObject(other) { } PrivateInodeVMObject::~PrivateInodeVMObject() { } }