linux/fs/xfs/scrub/tempexch.h

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2022-2024 Oracle.  All Rights Reserved.
 * Author: Darrick J. Wong <[email protected]>
 */
#ifndef __XFS_SCRUB_TEMPEXCH_H__
#define __XFS_SCRUB_TEMPEXCH_H__

#ifdef CONFIG_XFS_ONLINE_REPAIR
struct xrep_tempexch {};

int xrep_tempexch_trans_reserve(struct xfs_scrub *sc, int whichfork,
		struct xrep_tempexch *ti);
int xrep_tempexch_trans_alloc(struct xfs_scrub *sc, int whichfork,
		struct xrep_tempexch *ti);

int xrep_tempexch_contents(struct xfs_scrub *sc, struct xrep_tempexch *ti);
#endif /* CONFIG_XFS_ONLINE_REPAIR */

#endif /* __XFS_SCRUB_TEMPEXCH_H__ */