/* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions of structures for vfsv0 quota format */ #ifndef _LINUX_QUOTAIO_V2_H #define _LINUX_QUOTAIO_V2_H #include <linux/types.h> #include <linux/quota.h> /* * Definitions of magics and versions of current quota files */ #define V2_INITQMAGICS … #define V2_INITQVERSIONS … /* First generic header */ struct v2_disk_dqheader { … }; /* * The following structure defines the format of the disk quota file * (as it appears on disk) - the file is a radix tree whose leaves point * to blocks of these structures. */ struct v2r0_disk_dqblk { … }; struct v2r1_disk_dqblk { … }; /* Header with type and version specific information */ struct v2_disk_dqinfo { … }; #define V2_DQINFOOFF … #define V2_DQBLKSIZE_BITS … #endif /* _LINUX_QUOTAIO_V2_H */