]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2bd0ea18 | 2 | /* |
da23017d NS |
3 | * Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. |
4 | * All Rights Reserved. | |
2bd0ea18 NS |
5 | */ |
6 | ||
7 | #ifndef _XR_VERSIONS_H | |
8 | #define _XR_VERSIONS_H | |
9 | ||
10 | #ifndef EXTERN | |
11 | #define EXTERN extern | |
12 | #endif /* EXTERN */ | |
13 | ||
2bd0ea18 NS |
14 | /* |
15 | * filesystem feature global vars, set to 1 if the feature | |
16 | * is on, 0 otherwise | |
17 | */ | |
18 | ||
a5e09451 ES |
19 | extern int fs_attributes; |
20 | extern int fs_attributes2; | |
21 | extern int fs_inode_nlink; | |
22 | extern int fs_quotas; | |
23 | extern int fs_aligned_inodes; | |
24 | extern int fs_sb_feature_bits; | |
25 | extern int fs_has_extflgbit; | |
2bd0ea18 NS |
26 | |
27 | /* | |
28 | * inode chunk alignment, fsblocks | |
29 | */ | |
30 | ||
a5e09451 | 31 | extern xfs_extlen_t fs_ino_alignment; |
2bd0ea18 NS |
32 | |
33 | /* | |
34 | * modify superblock to reflect current state of global fs | |
35 | * feature vars above | |
36 | */ | |
37 | void update_sb_version(xfs_mount_t *mp); | |
38 | ||
39 | /* | |
40 | * parse current sb to set above feature vars | |
41 | */ | |
42 | int parse_sb_version(xfs_sb_t *sb); | |
43 | ||
44 | #endif /* _XR_VERSIONS_H */ |