Christoph Hellwig | 0b1e987 | 2022-05-16 15:38:25 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2000-2001 Christoph Hellwig. |
Krzysztof Błaszkowski | 1cce170 | 2016-06-01 09:25:12 +0200 | [diff] [blame] | 4 | * Copyright (c) 2016 Krzysztof Blaszkowski |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 { |
Krzysztof Błaszkowski | 0d83f7f | 2016-05-31 08:45:13 +0200 | [diff] [blame] | 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 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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_ */ |