/usr/include/reiser4/backup.h is in libreiser4-dev 1.0.7-6.3fakesync2.
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 | /* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by
reiser4progs/COPYING.
backup.h -- reiser4 backup method declaration. */
#ifndef REISER4_BACKUP_H
#define REISER4_BACKUP_H
#ifndef ENABLE_MINIMAL
/* Put backup copies into the power of (3/2) block numbers. */
#define BACKUP_EXP_LAYOUT(blk) ((blk * 3) >> 1)
extern reiser4_backup_t *reiser4_backup_create(reiser4_fs_t *fs);
extern reiser4_backup_t *reiser4_backup_open(reiser4_fs_t *fs);
extern void reiser4_backup_close(reiser4_backup_t *backup);
extern errno_t reiser4_backup_sync(reiser4_backup_t *backup);
extern errno_t reiser4_backup_valid(reiser4_backup_t *backup);
extern errno_t reiser4_backup_layout(reiser4_fs_t *fs,
region_func_t region_func,
void *data);
extern errno_t reiser4_old_backup_layout(reiser4_fs_t *fs,
region_func_t region_func,
void *data);
#define reiser4_backup_isdirty(backup) ((backup)->dirty)
#define reiser4_backup_mkdirty(backup) ((backup)->dirty = 1)
#define reiser4_backup_mkclean(backup) ((backup)->dirty = 0)
#endif
#endif
|