shejialuo <shejialuo@xxxxxxxxx> writes: > The "fsck_error" callback is designed to report the objects-related > error messages. It accepts two parameter "oid" and "object_type" which > is not generic. In order to provide a unified callback which can report > either objects or refs, remove the objects-related parameters and add > the generic parameter "void *fsck_report". > > Create a new "fsck_object_report" structure which incorporates the > removed parameters "oid" and "object_type". Then change the > corresponding references to adapt to new "fsck_error" callback. > So since my last review, we've now changed the function to accept a 'void *' parameter, this makes sense, this way the refs error function and the objects error function can now only receive the data they care about. [snip]
Attachment:
signature.asc
Description: PGP signature