]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - repair/versions.h
libxfs: refactor manage_zones()
[thirdparty/xfsprogs-dev.git] / repair / versions.h
CommitLineData
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
19extern int fs_attributes;
20extern int fs_attributes2;
21extern int fs_inode_nlink;
22extern int fs_quotas;
23extern int fs_aligned_inodes;
24extern int fs_sb_feature_bits;
25extern int fs_has_extflgbit;
2bd0ea18
NS
26
27/*
28 * inode chunk alignment, fsblocks
29 */
30
a5e09451 31extern 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 */
37void update_sb_version(xfs_mount_t *mp);
38
39/*
40 * parse current sb to set above feature vars
41 */
42int parse_sb_version(xfs_sb_t *sb);
43
44#endif /* _XR_VERSIONS_H */