On Thu, Aug 22, 2024 at 05:03:43PM -0700, Darrick J. Wong wrote: > +#ifndef __KERNEL__ > +/* > + * Begin the process of linking a metadata file by allocating transactions > + * and locking whatever resources we're going to need. > + */ > +int > +xfs_metadir_start_link( > + struct xfs_metadir_update *upd) I kinda hate placing this repair only code in libxfs, but given the dependencies on metadir internals I can't really think of anything better, so: Reviewed-by: Christoph Hellwig <hch@xxxxxx>