blob: dfd2147599c49db2d100b65a22a72da0decad363 [file] [log] [blame]
Christoph Hellwig0b1e9872022-05-16 15:38:25 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Copyright (c) 2000-2001 Christoph Hellwig.
Krzysztof Błaszkowski1cce1702016-06-01 09:25:12 +02004 * Copyright (c) 2016 Krzysztof Blaszkowski
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 */
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 */
20struct vxfs_fsh {
Krzysztof Błaszkowski0d83f7f2016-05-31 08:45:13 +020021 __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 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
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_ */