summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/fs-gc.h
blob: dc98c295204f4876c6d91dabd104dd675084ef68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _BCACHE_FS_GC_H
#define _BCACHE_FS_GC_H

enum {
	BCH_FSCK_OK			= 0,
	BCH_FSCK_ERRORS_NOT_FIXED	= 1,
	BCH_FSCK_REPAIR_UNIMPLEMENTED	= 2,
};

s64 bch_count_inode_sectors(struct cache_set *, u64);
int bch_gc_inode_nlinks(struct cache_set *);
int bch_fsck(struct cache_set *);

#endif /* _BCACHE_FS_GC_H */