blob: c1ba3f2891a14de675c62d7259bf0449f4e085b4 [file] [log] [blame]
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2023 Oracle. All Rights Reserved.
* Author: Darrick J. Wong <djwong@kernel.org>
*/
#ifndef __REPAIR_PPTR_H__
#define __REPAIR_PPTR_H__
void parent_ptr_free(struct xfs_mount *mp);
void parent_ptr_init(struct xfs_mount *mp);
void add_parent_ptr(xfs_ino_t ino, const unsigned char *fname,
struct xfs_inode *dp);
void check_parent_ptrs(struct xfs_mount *mp);
void try_erase_parent_ptrs(struct xfs_inode *ip);
#endif /* __REPAIR_PPTR_H__ */