This file is indexed.

/usr/include/repair/disk_scan.h is in libreiser4-dev 1.1.0-1.1.

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
35
36
37
38
39
40
/* Copyright 2001-2005 by Hans Reiser, licensing governed by
   reiser4progs/COPYING.
   
   repair/disk_scan.h -- the structures and methods needed for the 
   second pass of fsck. */

#ifndef REPAIR_DS_H
#define REPAIR_DS_H

#include <time.h>
#include <repair/librepair.h>

/* Statistics gathered during the pass. */
typedef struct repair_ds_stat {
	uint64_t read_nodes;
	uint64_t good_nodes, good_leaves, good_twigs;
	uint64_t fixed_nodes, fixed_leaves, fixed_twigs;

	uint64_t *files, tmp;
	time_t time;
} repair_ds_stat_t;

/* Disk scan data. */
typedef struct repair_ds {
	repair_data_t *repair;
    
	reiser4_bitmap_t *bm_scan;	/* Blocks to be scanned on the pass. */
	reiser4_bitmap_t *bm_met;	/* Blocks met already + all formatted . */
	/* Results of the work. */
	reiser4_bitmap_t *bm_leaf;	/* Found leaves. */
	reiser4_bitmap_t *bm_twig;	/* Fount twigs. */

	repair_ds_stat_t stat;
	bool_t mkidok;
	uint32_t mkid;
} repair_ds_t;

extern errno_t repair_disk_scan(repair_ds_t *ds);

#endif