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