1*ba2cfa80SAlex Richardson /*- 2*ba2cfa80SAlex Richardson * SPDX-License-Identifier: BSD-2-Clause 3*ba2cfa80SAlex Richardson * 4*ba2cfa80SAlex Richardson * Copyright 2018-2020 Alex Richardson <arichardson@FreeBSD.org> 5*ba2cfa80SAlex Richardson * 6*ba2cfa80SAlex Richardson * This work was supported by Innovate UK project 105694, "Digital Security by 7*ba2cfa80SAlex Richardson * Design (DSbD) Technology Platform Prototype". 8*ba2cfa80SAlex Richardson * 9*ba2cfa80SAlex Richardson * Redistribution and use in source and binary forms, with or without 10*ba2cfa80SAlex Richardson * modification, are permitted provided that the following conditions 11*ba2cfa80SAlex Richardson * are met: 12*ba2cfa80SAlex Richardson * 1. Redistributions of source code must retain the above copyright 13*ba2cfa80SAlex Richardson * notice, this list of conditions and the following disclaimer. 14*ba2cfa80SAlex Richardson * 2. Redistributions in binary form must reproduce the above copyright 15*ba2cfa80SAlex Richardson * notice, this list of conditions and the following disclaimer in the 16*ba2cfa80SAlex Richardson * documentation and/or other materials provided with the distribution. 17*ba2cfa80SAlex Richardson * 18*ba2cfa80SAlex Richardson * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 19*ba2cfa80SAlex Richardson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20*ba2cfa80SAlex Richardson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21*ba2cfa80SAlex Richardson * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 22*ba2cfa80SAlex Richardson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23*ba2cfa80SAlex Richardson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24*ba2cfa80SAlex Richardson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25*ba2cfa80SAlex Richardson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26*ba2cfa80SAlex Richardson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27*ba2cfa80SAlex Richardson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28*ba2cfa80SAlex Richardson * SUCH DAMAGE. 29*ba2cfa80SAlex Richardson */ 30*ba2cfa80SAlex Richardson #pragma once 31*ba2cfa80SAlex Richardson /* Ensure that struct denode uses the local m_buf structure and not sys/buf.h */ 32*ba2cfa80SAlex Richardson #define buf m_buf 33*ba2cfa80SAlex Richardson struct vn_clusterw { 34*ba2cfa80SAlex Richardson /* Not interesting for msdosfs makefs. */ 35*ba2cfa80SAlex Richardson }; 36*ba2cfa80SAlex Richardson #include "../ffs/buf.h" 37*ba2cfa80SAlex Richardson /* struct direntry needs to be defined to included denode.h */ 38*ba2cfa80SAlex Richardson #include "msdos/direntry.h" 39*ba2cfa80SAlex Richardson #include <fs/msdosfs/denode.h> 40