/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2022-2023 Oracle. All Rights Reserved. * Author: Darrick J. Wong <[email protected]> */ #ifndef __XFS_SCRUB_READDIR_H__ #define __XFS_SCRUB_READDIR_H__ xchk_dirent_fn; int xchk_dir_walk(struct xfs_scrub *sc, struct xfs_inode *dp, xchk_dirent_fn dirent_fn, void *priv); int xchk_dir_lookup(struct xfs_scrub *sc, struct xfs_inode *dp, const struct xfs_name *name, xfs_ino_t *ino); int xchk_dir_trylock_for_pptrs(struct xfs_scrub *sc, struct xfs_inode *ip, unsigned int *lockmode); #endif /* __XFS_SCRUB_READDIR_H__ */