xref: /openbmc/linux/fs/freevxfs/vxfs_fshead.h (revision 44a54e25)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2000-2001 Christoph Hellwig.
4  * Copyright (c) 2016 Krzysztof Blaszkowski
5  */
6 #ifndef _VXFS_FSHEAD_H_
7 #define _VXFS_FSHEAD_H_
8 
9 /*
10  * Veritas filesystem driver - fileset header structures.
11  *
12  * This file contains the physical structure of the VxFS
13  * fileset header.
14  */
15 
16 
17 /*
18  * Fileset header
19  */
20 struct vxfs_fsh {
21 	__fs32		fsh_version;		/* fileset header version */
22 	__fs32		fsh_fsindex;		/* fileset index */
23 	__fs32		fsh_time;		/* modification time - sec */
24 	__fs32		fsh_utime;		/* modification time - usec */
25 	__fs32		fsh_extop;		/* extop flags */
26 	__fs32		fsh_ninodes;		/* allocated inodes */
27 	__fs32		fsh_nau;		/* number of IAUs */
28 	__fs32		fsh_old_ilesize;	/* old size of ilist */
29 	__fs32		fsh_dflags;		/* flags */
30 	__fs32		fsh_quota;		/* quota limit */
31 	__fs32		fsh_maxinode;		/* maximum inode number */
32 	__fs32		fsh_iauino;		/* IAU inode */
33 	__fs32		fsh_ilistino[2];	/* ilist inodes */
34 	__fs32		fsh_lctino;		/* link count table inode */
35 
36 	/*
37 	 * Slightly more fields follow, but they
38 	 *  a) are not of any interest for us, and
39 	 *  b) differ a lot in different vxfs versions/ports
40 	 */
41 };
42 
43 #endif /* _VXFS_FSHEAD_H_ */
44