/usr/include/repair/twig_scan.h is in libreiser4-dev 1.0.9-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /* Copyright 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
repair/twig_scan.h -- common structures and methods for the second
fsck pass. */
#ifndef REPAIR_SCAN_H
#define REPAIR_SCAN_H
#include <time.h>
#include <repair/librepair.h>
/* Statistics gathered during the pass. */
typedef struct repair_ts_stat {
uint64_t read_twigs, fixed_twigs;
uint64_t bad_unfm_ptrs;
time_t time;
} repair_ts_stat_t;
/* Twig scan data. */
typedef struct repair_ts {
repair_data_t *repair;
reiser4_bitmap_t *bm_used; /* In the tree blocks . */
reiser4_bitmap_t *bm_twig; /* To be scanned blocks. */
reiser4_bitmap_t *bm_met; /* Met blocks, cannot be pointed by
extents. */
repair_ts_stat_t stat;
} repair_ts_t;
extern errno_t repair_twig_scan(repair_ts_t *ts);
#endif
|