1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
/*
* cnormap.h - checkpoint number reverse mapper
*
* Licensed under LGPLv2: the complete text of the GNU Lesser General
* Public License can be found in COPYING file of the nilfs-utils
* package.
*/
#ifndef NILFS_CNORMAP_H
#define NILFS_CNORMAP_H
#include <sys/types.h>
#include "nilfs.h"
struct nilfs_cnormap;
struct nilfs_cnormap *nilfs_cnormap_create(struct nilfs *nilfs);
void nilfs_cnormap_destroy(struct nilfs_cnormap *cnormap);
int nilfs_cnormap_track_back(struct nilfs_cnormap *cnormap, __u64 period,
nilfs_cno_t *cnop);
#endif /* NILFS_CNORMAP */
|