Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.1.
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * Copyright (C) 2023 Oracle.  All Rights Reserved.
 4 * Author: Darrick J. Wong <djwong@kernel.org>
 5 */
 6#ifndef __XFS_SCRUB_RTBITMAP_H__
 7#define __XFS_SCRUB_RTBITMAP_H__
 8
 9struct xchk_rtbitmap {
10	uint64_t		rextents;
11	uint64_t		rbmblocks;
12	unsigned int		rextslog;
13	unsigned int		resblks;
14};
15
16#ifdef CONFIG_XFS_ONLINE_REPAIR
17int xrep_setup_rtbitmap(struct xfs_scrub *sc, struct xchk_rtbitmap *rtb);
18#else
19# define xrep_setup_rtbitmap(sc, rtb)	(0)
20#endif /* CONFIG_XFS_ONLINE_REPAIR */
21
22#endif /* __XFS_SCRUB_RTBITMAP_H__ */