23 lines · c
1// SPDX-License-Identifier: GPL-2.0-or-later2/*3 * Copyright (c) 2022-2024 Oracle. All Rights Reserved.4 * Author: Darrick J. Wong <djwong@kernel.org>5 */6#ifndef __XFS_SCRUB_TEMPEXCH_H__7#define __XFS_SCRUB_TEMPEXCH_H__8 9#ifdef CONFIG_XFS_ONLINE_REPAIR10struct xrep_tempexch {11 struct xfs_exchmaps_req req;12};13 14int xrep_tempexch_trans_reserve(struct xfs_scrub *sc, int whichfork,15 struct xrep_tempexch *ti);16int xrep_tempexch_trans_alloc(struct xfs_scrub *sc, int whichfork,17 struct xrep_tempexch *ti);18 19int xrep_tempexch_contents(struct xfs_scrub *sc, struct xrep_tempexch *ti);20#endif /* CONFIG_XFS_ONLINE_REPAIR */21 22#endif /* __XFS_SCRUB_TEMPEXCH_H__ */23