Merge tag 'devicetree-fixes-for-5.6' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / fs / xfs / scrub / health.h
blobd0b938d3d028a4d4cfe19370e2aab7f1c6f4ec83
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (C) 2019 Oracle. All Rights Reserved.
4 * Author: Darrick J. Wong <darrick.wong@oracle.com>
5 */
6 #ifndef __XFS_SCRUB_HEALTH_H__
7 #define __XFS_SCRUB_HEALTH_H__
9 unsigned int xchk_health_mask_for_scrub_type(__u32 scrub_type);
10 void xchk_update_health(struct xfs_scrub *sc);
11 bool xchk_ag_btree_healthy_enough(struct xfs_scrub *sc, struct xfs_perag *pag,
12 xfs_btnum_t btnum);
14 #endif /* __XFS_SCRUB_HEALTH_H__ */