]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - repair/dir2.h
libxfs: refactor manage_zones()
[thirdparty/xfsprogs-dev.git] / repair / dir2.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_DIR2_H
8#define _XR_DIR2_H
9
10struct blkmap;
11struct bmap_ext;
12
2bd0ea18
NS
13int
14process_dir2(
15 xfs_mount_t *mp,
16 xfs_ino_t ino,
17 xfs_dinode_t *dip,
18 int ino_discovery,
19 int *dirty,
20 char *dirname,
21 xfs_ino_t *parent,
22 struct blkmap *blkmap);
23
24void
25process_sf_dir2_fixi8(
494434d7 26 struct xfs_mount *mp,
a354abc8 27 struct xfs_dir2_sf_hdr *sfp,
2bd0ea18
NS
28 xfs_dir2_sf_entry_t **next_sfep);
29
2bd0ea18
NS
30int
31dir2_is_badino(
32 xfs_ino_t ino);
33
34#endif /* _XR_DIR2_H */