X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libbcachefs%2Ffsck.h;h=da991e8cf27eb493ed5aac5a3e3da606ae089968;hb=8d8a9f3e9bdd1d84fbbe0531e81977cc9044654a;hp=4bde1bda89c7e577165c175de1e7a6905f227e02;hpb=819f2dde79241915a6edda2c20bb4ca5d4017030;p=bcachefs-tools-debian diff --git a/libbcachefs/fsck.h b/libbcachefs/fsck.h index 4bde1bd..da991e8 100644 --- a/libbcachefs/fsck.h +++ b/libbcachefs/fsck.h @@ -1,7 +1,15 @@ -#ifndef _BCACHE_FS_GC_H -#define _BCACHE_FS_GC_H +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_FSCK_H +#define _BCACHEFS_FSCK_H -s64 bch2_count_inode_sectors(struct bch_fs *, u64); -int bch2_fsck(struct bch_fs *, bool); +int bch2_check_inodes(struct bch_fs *); +int bch2_check_extents(struct bch_fs *); +int bch2_check_indirect_extents(struct bch_fs *); +int bch2_check_dirents(struct bch_fs *); +int bch2_check_xattrs(struct bch_fs *); +int bch2_check_root(struct bch_fs *); +int bch2_check_directory_structure(struct bch_fs *); +int bch2_check_nlinks(struct bch_fs *); +int bch2_fix_reflink_p(struct bch_fs *); -#endif /* _BCACHE_FS_GC_H */ +#endif /* _BCACHEFS_FSCK_H */