diff options
Diffstat (limited to 'fsck.h')
-rw-r--r-- | fsck.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6,6 +6,7 @@ #define FSCK_IGNORE 3 struct fsck_options; +struct object; void fsck_set_msg_type(struct fsck_options *options, const char *msg_id, const char *msg_type); @@ -53,4 +54,11 @@ int fsck_walk(struct object *obj, void *data, struct fsck_options *options); int fsck_object(struct object *obj, void *data, unsigned long size, struct fsck_options *options); +/* + * Some fsck checks are context-dependent, and may end up queued; run this + * after completing all fsck_object() calls in order to resolve any remaining + * checks. + */ +int fsck_finish(struct fsck_options *options); + #endif |