On Sat, Apr 27, 2024 at 07:03:55 AM +0200, Christoph Hellwig wrote: > Hi all, > > with the scrub and online repair code we now duplicate the switching > between the directory format for directory operations in at least two > places for each operation, with the metadir code adding even more for > some of these operations. > > This series adds _args helpers to consolidate this code, and then > refactors the checking for the directory format into a single well-defined > helper. > > This is now based against the for-next branch in the xfs tree. > > Changes since v1: > - removed two stray whitespaces in the last patch I had already applied patches from v1 and cleaned up the trailing whitespaces while doing so. -- Chandan