| .. | .. |
|---|
| 46 | 46 | struct xfs_buf *bp); |
|---|
| 47 | 47 | void xchk_ino_set_preen(struct xfs_scrub *sc, xfs_ino_t ino); |
|---|
| 48 | 48 | |
|---|
| 49 | +void xchk_set_corrupt(struct xfs_scrub *sc); |
|---|
| 49 | 50 | void xchk_block_set_corrupt(struct xfs_scrub *sc, |
|---|
| 50 | 51 | struct xfs_buf *bp); |
|---|
| 51 | 52 | void xchk_ino_set_corrupt(struct xfs_scrub *sc, xfs_ino_t ino); |
|---|
| .. | .. |
|---|
| 112 | 113 | return -ENOENT; |
|---|
| 113 | 114 | } |
|---|
| 114 | 115 | #endif |
|---|
| 116 | +int xchk_setup_fscounters(struct xfs_scrub *sc, struct xfs_inode *ip); |
|---|
| 115 | 117 | |
|---|
| 116 | 118 | void xchk_ag_free(struct xfs_scrub *sc, struct xchk_ag *sa); |
|---|
| 117 | 119 | int xchk_ag_init(struct xfs_scrub *sc, xfs_agnumber_t agno, |
|---|
| .. | .. |
|---|
| 123 | 125 | void xchk_ag_btcur_free(struct xchk_ag *sa); |
|---|
| 124 | 126 | int xchk_ag_btcur_init(struct xfs_scrub *sc, struct xchk_ag *sa); |
|---|
| 125 | 127 | int xchk_count_rmap_ownedby_ag(struct xfs_scrub *sc, struct xfs_btree_cur *cur, |
|---|
| 126 | | - struct xfs_owner_info *oinfo, xfs_filblks_t *blocks); |
|---|
| 128 | + const struct xfs_owner_info *oinfo, xfs_filblks_t *blocks); |
|---|
| 127 | 129 | |
|---|
| 128 | 130 | int xchk_setup_ag_btree(struct xfs_scrub *sc, struct xfs_inode *ip, |
|---|
| 129 | 131 | bool force_log); |
|---|
| .. | .. |
|---|
| 144 | 146 | |
|---|
| 145 | 147 | int xchk_metadata_inode_forks(struct xfs_scrub *sc); |
|---|
| 146 | 148 | int xchk_ilock_inverted(struct xfs_inode *ip, uint lock_mode); |
|---|
| 149 | +void xchk_stop_reaping(struct xfs_scrub *sc); |
|---|
| 150 | +void xchk_start_reaping(struct xfs_scrub *sc); |
|---|
| 147 | 151 | |
|---|
| 148 | 152 | #endif /* __XFS_SCRUB_COMMON_H__ */ |
|---|