]>
Commit | Line | Data |
---|---|---|
959ef981 | 1 | // SPDX-License-Identifier: GPL-2.0+ |
372d4ba9 DW |
2 | /* |
3 | * Copyright (C) 2018 Oracle. All Rights Reserved. | |
372d4ba9 | 4 | * Author: Darrick J. Wong <darrick.wong@oracle.com> |
372d4ba9 DW |
5 | */ |
6 | #ifndef XFS_SCRUB_INODES_H_ | |
7 | #define XFS_SCRUB_INODES_H_ | |
8 | ||
9 | typedef int (*xfs_inode_iter_fn)(struct scrub_ctx *ctx, | |
10 | struct xfs_handle *handle, struct xfs_bstat *bs, void *arg); | |
11 | ||
12 | #define XFS_ITERATE_INODES_ABORT (-1) | |
13 | bool xfs_scan_all_inodes(struct scrub_ctx *ctx, xfs_inode_iter_fn fn, | |
14 | void *arg); | |
15 | ||
16 | int xfs_open_handle(struct xfs_handle *handle); | |
17 | ||
18 | #endif /* XFS_SCRUB_INODES_H_ */ |