Re: [GSoC][PATCH v14 05/11] fsck: add refs-related error callback
On Thu, Aug 01, 2024 at 11:14:19PM +0800, shejialuo wrote:
Show 7 quoted lines
> We have introduced "fsck_report_ref" function to report the error
> message for refs. We still need to add the corresponding callback
> function. Create refs-specific "error_func" callback
> "fsck_refs_error_function".
>
> Last, add "FSCK_REFS_OPTIONS_DEFAULT" macro to create default options
> when checking ref consistency.
Nit: personally, I'd squash this commit into the preceding one. They
belong together logically, as the preceding step doesn't make any sense
without the error reporting function and this step here doesn't make any
sense without introducing `struct fsck_ref_report`.
Patrick